by Arindam » Thu Aug 24, 2006 6:34 am
Hello Antonio.
I did a project in my xCompany which was developed in Flagship [Multisoft Gmbh]. That was a hybrid application, which was run in Basic, Terminal and GUI Mode also. So far my memory the code was as follows:
• Code:
Function Main()
Local w1
Local Name := Space(20)
Local Phone := Space(8)
Local GetList := {}
w1 := Wopen(10, 12, 20, 50)
wCaption("Test Window")
wBOARD(5, 5, 25, 70) // if it is not specify, window move entire region
wMoveUser(.T.) // if it is omitted or .F. then window donot move
@ 2, 5 Say "Enter your Name and Tel No"
@ 4, 2 Say “Name”
@ 5, 2 Say “Tel”
@ 4, 8 Get Name
@ 5, 8 Get Phone
Read
Return Nil
In xHarbour, command description of wBoard() is :
• Description:
This function defines the screen area where windows are permitted.
Windows are subsequently only visible in this defined area. You can use
this function to protect an area of the screen from being overwritten with
windows, even when you allow the user to move the window
interactively. The boundaries designated by WBOARD() become the
screen boundaries for window functions.
Notes
WBOARD() is only effective when there are no open windows.
Always consider that closing individual windows or all the windows never
influences the setting of the window border. So if you neglect to
specifically eliminate the window border, you can have unanticipated
problems later when you open windows.
Please note that yet I have not developed any project in xHarbour as because while I go through the xHarbour, I learn about FiveWin. Now I am trying to do developed application in Fivewin.
Arindam