How can I CENTRE my main application window ?
Posted: Thu Jul 12, 2007 8:34 pm
How can I CENTRE my main application window ?
CENTER is not allowed in the command
DEFINE WINDOW Win_Main FROM 0, 0 TO 600, 800 PIXEL TITLE 'Hello World' MDI ICON oIcon MENU mainmenu()
DEFINE BUTTONBAR oMain_Toolbar OF Win_Main SIZE 70, 50 3D
DEFINE BUTTON of oMain_Toolbar PROMPT "New Report" TOP ACTION newreport( )
DEFINE BUTTON of oMain_Toolbar PROMPT "Search" TOP ACTION searchreport( )
DEFINE BUTTON of oMain_Toolbar PROMPT "Exit" TOP ACTION quitprog()
ACTIVATE WINDOW Win_Main ON INIT LOGON() VALID lExitAllowed CENTER ???
CENTER is not allowed in the command
DEFINE WINDOW Win_Main FROM 0, 0 TO 600, 800 PIXEL TITLE 'Hello World' MDI ICON oIcon MENU mainmenu()
DEFINE BUTTONBAR oMain_Toolbar OF Win_Main SIZE 70, 50 3D
DEFINE BUTTON of oMain_Toolbar PROMPT "New Report" TOP ACTION newreport( )
DEFINE BUTTON of oMain_Toolbar PROMPT "Search" TOP ACTION searchreport( )
DEFINE BUTTON of oMain_Toolbar PROMPT "Exit" TOP ACTION quitprog()
ACTIVATE WINDOW Win_Main ON INIT LOGON() VALID lExitAllowed CENTER ???