4. Commands

4.1. Commands for windows and dialogs handling
4.1.1. INIT WINDOW

This command creates the window - main, MDI or MDI CHILD. To force this window show up on the screen you need to activate it later. You can do this with ACTIVATE WINDOW command or with Activate() method of that window object.

  INIT WINDOW <oWnd>
	 [ MAIN ]
	 [ MDI ]
	 [ MDICHILD ]
         [ APPNAME <appname> ]
	 [ TITLE <cTitle> ]
	 [ AT <x>, <y> ]
	 [ SIZE <width>, <height> ]
	 [ ICON <ico> ]
	 [ COLOR <clr> ]
         [ BACKGROUND BITMAP <oBmp>> ]
	 [ STYLE <nStyle> ]
	 [ FONT <oFont> ]
	 [ MENU <cMenu> ]
	 [ MENUPOS <nPos> ]
	 [ ON INIT <bInit> ]
	 [ ON SIZE <bSize> ]
	 [ ON PAINT <bPaint> ]
	 [ ON GETFOCUS <bGfocus> ]
	 [ ON LOSTFOCUS <bLfocus> ]
	 [ ON CLOSEQUERY <bCloseQuery> ];
	 [ ON OTHER MESSAGES <bOther> ]
	 [ ON EXIT <bExit>]
         [ HELP <cHelp> ]
         [ HELPID <nHelpId> ]

MAIN,MDI,MDICHILD clauses specifies the type of the window, only one of this clauses may be used in the command.
cTitle - title of the window;
x,y,width,height - left and top coordinates of the window, it's width and height;
ico - the name of the Icon in the resource file;
clr - the background color of the window;
nStyle - style of the window;
oFont - previously created HFont object;
cMenu - the name of menu declaration in the resource file ( if you specify menu in resources );
nPos - identifies the window menu used for controlling MDI child windows. As child windows are created, the application adds their titles to the Window menu as menu items. The user can then activate a child window by choosing its title from the window menu.
bSize - codeblock, which is evaluated while resizing window;
bPaint - codeblock, which is evaluated while window drawing;
bGFocus - codeblock, which is evaluated when window gets focus;
bLFocus - codeblock, which is evaluated when window losts focus;
bExit - codeblock, which is evaluated when window is closed;
bOther - codeblock, which is evaluated for all other messages - you can write your own procedure for messages handling;

4.1.2. INIT DIALOG

This command creates the dialog box. To force the dialog show up on the screen you need to activate it later. You can do this with ACTIVATE DIALOG command or with Activate() method of that window object.

  INIT DIALOG <oWnd>
	 [ FROM RESOURCE ] 
	 [ TITLE <cTitle> ] 
	 [ AT <x>, <y> ] 
	 [ SIZE <width>, <height> ] 
         [ ICON <ico> ] 
         [ BACKGROUND BITMAP <oBmp> ] 
	 [ STYLE <nStyle> ] 
	 [ FONT <oFont> ] 
	 [ CLIPPER ] 
	 [ NOEXIT ] 
	 [ NOEXITESC ]
	 [ ON INIT <bInit> ] 
	 [ ON SIZE <bSize> ] 
	 [ ON PAINT <bPaint> ] 
	 [ ON GETFOCUS <bGfocus> ] 
	 [ ON LOSTFOCUS <bLfocus> ] 
	 [ ON OTHER MESSAGES <bOther> ] 
	 [ ON EXIT <bExit> ] 
	 [ HELPID <nHelpId>> ]

All clauses has the same meaning as in INIT WINDOW command, there is only three specific clause:
FROM RESOURCE - it is used if you create the dialog box from resource file;
CLIPPER - to force the Clipper like behavior - the Enter key is used for moving between GET's;
NOEXIT - the Enter key doesn't cause closing of a dialog box.

4.1.3. ACTIVATE WINDOW
  ACTIVATE WINDOW <oWnd>
         [ NOSHOW ]
         [ MAXIMIZED ]
         [ MINIMIZED ]
         [ ON ACTIVATE <bInit> ]

This command is equivalent to 'oWnd:Activate()' call. It shows the previously created window and starts messages processing for it.

4.1.4. ACTIVATE DIALOG
  ACTIVATE DIALOG <oDlg> [ NOMODAL ]

This command is equivalent to 'oDlg:Activate()' call. It shows the previously defined dialog and starts messages processing for it. By default, it creates modal dialog. You can create modeless dialog, specifying NOMODAL clause in this command.

4.1.5. DIALOG ACTIONS OF

 DIALOG ACTIONS OF <oWnd>
   ON <id1>,<id2> ACTION <b1> 
   [ ON <idn1>,<idn2> ACTION <bn> ]

This is a compatibility command and therefore not recommended. The window gets WM_COMMAND message when the user selects a command item from a menu, when a control sends a notification message to its parent window, or when an accelerator keystroke is translated.
You can specify in this command the event, the source of the event and the appropriate action. id1 ...idn1 is the event code, id1 ... idn2 - is the identificator of the control, b1 ... bn - the codeblock.
Take a look at the samples to see how this command may be used.


4.2. Menu commands

4.2.1. MENU

  MENU [ OF <oWnd> ] [ ID <nId> ] [ TITLE <cTitle> ]
4.2.2. ENDMENU

  ENDMENU
4.2.3. MENUITEM

MENUITEM <item> [ ID <nId> ] 
    ACTION <act> 
    [ BITMAP <bmp> ] 
    [ ACCELERATOR <flag>, <key> ] 
    [ <lDisabled: DISABLED> ]
4.2.4. SEPARATOR

  SEPARATOR
4.2.5. MENU FROM RESOURCE OF

  MENU FROM RESOURCE OF <oWnd>
	ON <id1> ACTION <b1> 
	[ ON <idn> ACTION <bn> ]

This command is used if you specify menu in resource file, it defines actions for each menu item.

4.2.6. CONTEXT MENU

  CONTEXT MENU <oMenu>
4.2.7. ACCELERATOR

  ACCELERATOR <flag>, <key>  
            [ ID <nId> ] 
            ACTION <act>

4.3. Commands for controls handling

All the following commands creates the instances of classes, they are preprocessed into the New() or Redefine() method of appropriate class.

4.3.1. ADD STATUS TO

ADD STATUS [ TO <oWnd> ]
	 [ ID <nId> ] 
	 [ ON INIT <bInit> ] 
	 [ ON SIZE <bSize> ] 
	 [ ON PAINT <bDraw> ] 
	 [ STYLE <nStyle> ] 
	 [ FONT <oFont> ] 
	 [ PARTS <aparts,...> ]
4.3.2. @ <x>,<y> SAY

@ <x>,<y> SAY [ <oSay> CAPTION ] <caption>
	 [ OF <oWnd> ]; 
	 [ ID <nId> ] 
	 [ SIZE <width>, <height> ] 
	 [ COLOR <tcolor> ] 
	 [ BACKCOLOR <bcolor> ] 
	 [ TRANSPARENT ] 
	 [ ON INIT <bInit> ] 
	 [ ON SIZE <bSize> ] 
	 [ ON PAINT <bDraw> ] 
	 [ STYLE <nStyle> ] 
	 [ FONT <oFont> ] 
	 [ TOOLTIP <ctoolt> ]
4.3.3. @ <x>,<y> EDITBOX

@ <x>,<y> EDITBOX [ <oEdit> CAPTION ] <caption>
	 [ OF <oWnd> ]; 
	 [ ID <nId> ] 
	 [ SIZE <width>, <height> ] 
	 [ COLOR <tcolor> ] 
	 [ BACKCOLOR <bcolor> ] 
	 [ ON INIT <bInit> ] 
	 [ ON SIZE <bSize> ] 
	 [ ON PAINT <bDraw> ] 
	 [ ON GETFOCUS <bGfocus> ] 
	 [ ON LOSTFOCUS <bLfocus> ] 
	 [ STYLE <nStyle> ] 
         [ NOBORDER ] 
         [ PASSWORD ] 
	 [ FONT <oFont> ] 
	 [ TOOLTIP <ctoolt> ]
4.3.4. REDEFINE EDITBOX

REDEFINE EDITBOX <oEdit>
	 [ OF <oWnd> ] 
	 ID <nId> 
	 [ COLOR <tcolor> ] 
	 [ BACKCOLOR <bcolor> ] 
	 [ ON INIT <bInit> ] 
	 [ ON SIZE <bSize> ] 
	 [ ON PAINT <bDraw> ] 
	 [ ON GETFOCUS <bGfocus> ] 
	 [ ON LOSTFOCUS <bLfocus> ] 
	 [ FONT <oFont> ] 
	 [ TOOLTIP <ctoolt> ]
4.3.5. @ <x>,<y> BUTTON

@ <x>,<y> BUTTON [ <oButton> CAPTION ] <caption>
	 [ OF <oWnd> ]; 
	 [ ID <nId> ] 
	 [ SIZE <width>, <height> ] 
	 [ COLOR <tcolor> ] 
	 [ BACKCOLOR <bcolor> ] 
	 [ ON INIT <bInit> ] 
	 [ ON SIZE <bSize> ] 
	 [ ON PAINT <bDraw> ] 
	 [ ON CLICK <bClick> ] 
	 [ STYLE <nStyle> ] 
	 [ FONT <oFont> ] 
	 [ TOOLTIP <ctoolt> ]
4.3.6. REDEFINE BUTTON

REDEFINE BUTTON <oButton>
	 [ OF <oWnd> ] 
	 ID <nId> 
	 [ COLOR <tcolor> ] 
	 [ BACKCOLOR <bcolor> ] 
	 [ ON INIT <bInit> ] 
	 [ ON SIZE <bSize> ] 
	 [ ON PAINT <bDraw> ] 
	 [ ON CLICK <bClick> ] 
	 [ FONT <oFont> ] 
	 [ TOOLTIP <ctoolt> ]
4.3.7. @ <x>,<y> CHECKBOX

@ <x>,<y> CHECKBOX [ <oCheck> CAPTION ] <caption>
	 [ OF <oWnd> ]; 
	 [ ID <nId> ] 
	 [ SIZE <width>, <height> ] 
	 [ COLOR <tcolor> ] 
	 [ BACKCOLOR <bcolor> ] 
	 [ INIT <lInit> ] 
	 [ ON INIT <bInit> ] 
	 [ ON SIZE <bSize> ] 
	 [ ON PAINT <bDraw> ] 
	 [ ON CLICK <bClick> ] 
	 [ STYLE <nStyle> ] 
	 [ FONT <oFont> ] 
	 [ TOOLTIP <ctoolt> ]
4.3.8. REDEFINE CHECKBOX

REDEFINE CHECKBOX <oCheck>
	 [ OF <oWnd> ] 
	 ID <nId> 
	 [ COLOR <tcolor> ] 
	 [ BACKCOLOR <bcolor> ] 
	 [ INIT <lInit> ] 
	 [ ON INIT <bInit> ] 
	 [ ON SIZE <bSize> ] 
	 [ ON PAINT <bDraw> ] 
	 [ ON CLICK <bClick> ] 
	 [ FONT <oFont> ] 
	 [ TOOLTIP <ctoolt> ]
4.3.9. @ <x>,<y> COMBOBOX

@ <x>,<y> COMBOBOX [ <oCombo> ITEMS ] <aItems>
	 [ OF <oWnd> ]; 
	 [ ID <nId> ] 
	 [ SIZE <width>, <height> ] 
	 [ INIT <nInit> ] 
	 [ COLOR <tcolor> ] 
	 [ BACKCOLOR <bcolor> ] 
	 [ ON INIT <bInit> ] 
	 [ ON SIZE <bSize> ] 
	 [ ON PAINT <bDraw> ] 
	 [ ON CHANGE <bChange> ] 
	 [ STYLE <nStyle> ] 
	 [ FONT <oFont> ] 
	 [ TOOLTIP <ctoolt> ] 
	 [ EDIT ] 
	 [ TEXT ]
4.3.10. REDEFINE COMBOBOX

REDEFINE COMBOBOX [ <oCombo> ITEMS ] <aItems>
	 [ OF <oWnd> ] 
	 ID <nId> 
	 [ INIT <nInit> ] 
	 [ ON INIT <bInit> ] 
	 [ ON SIZE <bSize> ] 
	 [ ON PAINT <bDraw> ] 
	 [ ON CHANGE <bChange> ] 
	 [ FONT <oFont> ] 
	 [ TOOLTIP <ctoolt> ]
4.3.11. @ <x>,<y> RADIOBUTTON

@ <x>,<y> RADIOBUTTON [ <oRadio> CAPTION ] <caption>
	 [ OF <oWnd> ]; 
	 [ ID <nId> ] 
	 [ SIZE <width>, <height> ] 
	 [ COLOR <tcolor> ] 
	 [ BACKCOLOR <bcolor> ] 
	 [ ON INIT <bInit> ] 
	 [ ON SIZE <bSize> ] 
	 [ ON PAINT <bDraw> ] 
	 [ ON CLICK <bClick> ] 
	 [ STYLE <nStyle> ] 
	 [ FONT <oFont> ] 
	 [ TOOLTIP <ctoolt> ]
4.3.12. REDEFINE RADIOBUTTON

REDEFINE RADIOBUTTON <oRadio>
	 [ OF <oWnd> ] 
	 ID <nId> 
	 [ COLOR <tcolor> ] 
	 [ BACKCOLOR <bcolor> ] 
	 [ ON INIT <bInit> ] 
	 [ ON SIZE <bSize> ] 
	 [ ON PAINT <bDraw> ] 
	 [ ON CLICK <bClick> ] 
	 [ FONT <oFont> ] 
	 [ TOOLTIP <ctoolt> ]
4.3.13. RADIOGROUP
   RADIOGROUP
4.3.14. END RADIOGROUP
   END RADIOGROUP [ SELECTED <nSel> ]
4.3.15. @ <x>,<y> PANEL

@ <x>,<y> PANEL <oPanel>
	 [ OF <oWnd> ]; 
	 [ ID <nId> ] 
	 [ SIZE <width>, <height> ] 
	 [ ON INIT <bInit> ] 
	 [ ON SIZE <bSize> ] 
	 [ ON PAINT <bDraw> ] 
	 [ STYLE <nStyle> ]
4.3.16. REDEFINE PANEL

REDEFINE PANEL <oCheck>
	 [ OF <oWnd> ] 
	 ID <nId> 
	 [ ON INIT <bInit> ] 
	 [ ON SIZE <bSize> ] 
	 [ ON PAINT <bDraw> ]
4.3.17. @ <x>,<y> BROWSE

@ <x>,<y> BROWSE <oBrowse>
	 [ ARRAY ] 
	 [ DATABASE ] 
	 [ OF <oWnd> ]; 
	 [ ID <nId> ] 
	 [ SIZE <width>, <height> ] 
	 [ ON INIT <bInit> ] 
	 [ ON SIZE <bSize> ] 
	 [ ON PAINT <bDraw> ] 
	 [ ON CLICK <bClick> ] 
	 [ ON GETFOCUS <bGetFocus> ] 
	 [ ON LOSTFOCUS <bLostFocus> ] 
	 [ STYLE <nStyle> ] 
         [ <lNoVScr: NO VSCROLL> ] 
         [ <lNoBord: NO BORDER> ] 
	 [ FONT <oFont> ] 
         [ APPEND ] 
         [ AUTOEDIT ] 
         [ ON UPDATE <bUpdate> ] 
         [ ON KEYDOWN <bKeyDown> ] 
         [ ON POSCHANGE <bPosChg> ]
         [ MULTISELECT ]
4.3.18. REDEFINE BROWSE

REDEFINE BROWSE <oBrowse>
	 [ ARRAY ] 
	 [ DATABASE ] 
	 [ OF <oWnd> ] 
	 ID <nId> 
	 [ ON INIT <bInit> ] 
	 [ ON SIZE <bSize> ] 
	 [ ON PAINT <bDraw> ] 
	 [ ON CLICK <bClick> ] 
	 [ ON GETFOCUS <bGetFocus> ] 
	 [ ON LOSTFOCUS <bLostFocus> ] 
	 [ FONT <oFont> ]

4.3.19. ADD COLUMN

ADD COLUMN <block> <
	 TO <oBrowse>  
	 [ HEADER <cTitle> ] 
	 [ TYPE <type> ] 
	 [ LENGTH <length> ] 
	 [ DEC <dec> ] 
         [ <lEdit: EDITABLE> ] 
         [ JUSTIFY HEAD <nJusHead> ] 
         [ JUSTIFY LINE <nJusLine> ] 
         [ PICTURE <cPict> ] 
         [ VALID <bValid> ] 
         [ WHEN <bWhen> ] 
         [ ITEMS <aItem> ] 
         [ COLORBLOCK <bClrBlck> ]

4.3.20. @ <x>,<y> OWNERBUTTON

@ <x>,<y> OWNERBUTTON <oOwnBtn>
	 [ OF <oWnd> ]; 
	 [ ID <nId> ] 
	 [ SIZE <width>, <height> ] 
	 [ ON INIT <bInit> ] 
	 [ ON SIZE <bSize> ] 
	 [ ON DRAW <bDraw> ] 
	 [ ON CLICK <bClick> ] 
	 [ STYLE <nStyle> ] 
	 [ FLAT ] 
	 [ DISABLED ] 
	 [ TEXT <cText> 
	    [ COLOR <color> ] [ FONT <font> ] 
	    [ COORDINATES <xt>, <yt>, <widthtt>, <heightt> ] 
	 ] 
	 [ BITMAP <bmp> [ FROM RESOURCE ] [ TRANSPARENT [COLOR  <trcolor> ] ]
	    [ COORDINATES <xb>, <yb>, <widthtb>, <heightb> ] 
	 ] 

4.3.21. REDEFINE OWNERBUTTON

REDEFINE OWNERBUTTON <oOwnBtn>
	 [ OF <oWnd> ] 
	 ID <nId> 
	 [ ON INIT <bInit> ] 
	 [ ON SIZE <bSize> ] 
	 [ ON PAINT <bDraw> ] 
	 [ ON CLICK <bClick> ] 
	 [ STYLE <nStyle> ] 
	 [ FLAT ] 
	 [ TEXT <cText> 
	    [ COLOR <color> ] [ FONT <font> ] 
	    [ COORDINATES <xt>, <yt>, <widthtt>, <heightt> ] 
	 ] 
	 [ BITMAP <bmp> [ FROM RESOURCE ] [ TRANSPARENT ] 
	    [ COORDINATES <xb>, <yb>, <widthtb>, <heightb> ] 
	 ] 

HwGUI core registers the OWNERBUTTON as a Window's class with a name "OWNBTN". So, if you add the OWNERBUTTON to the resourse file, there should something like:

   CONTROL "", 1001, "OWNBTN", 0 | WS_CHILD | WS_VISIBLE, 84, 79, 50, 14
Such a line will be created, if you choose "Custom" from the "Control" menu in the Borland's Workshop, and write "OWNBTN" in a "Class" input field.

4.3.22. @ <x>,<y> GROUPBOX
@ <x>,<y> GROUPBOX [ <oGroup> CAPTION ] <caption>
	 [ OF <oWnd> ]; 
	 [ ID <nId> ] 
	 [ SIZE <width>, <height> ] 
	 [ COLOR <tcolor> ] 
	 [ BACKCOLOR <bcolor> ] 
	 [ ON INIT <bInit> ] 
	 [ ON SIZE <bSize> ] 
	 [ ON PAINT <bDraw> ] 
	 [ STYLE <nStyle> ] 
	 [ FONT <oFont> ]
4.3.23. @ <x>,<y> DATEPICKER
@ <x>,<y> DATEPICKER [ <oPicker> CAPTION ] <caption>
	 [ OF <oWnd> ] 
	 [ ID <nId> ]
	 [ SIZE <width>, <height> ] 
	 [ COLOR <tcolor> ] 
	 [ BACKCOLOR <bcolor> ] 
	 [ INIT <value> ] 
	 [ ON INIT <bInit> ] 
	 [ ON GETFOCUS <bGetFocus> ] 
	 [ ON LOSTFOCUS <bLostFocus> ]
	 [ ON CHANGE <bChange> ]
	 [ STYLE <nStyle> ] 
	 [ FONT <oFont> ] 
	 [ TOOLTIP <ctoolt> ]
4.3.24. @ <x>,<y> UPDOWN

@ <x>,<y> UPDOWN [ <oUpDown> INIT ] <nInit>
	 RANGE <nLower>, <nUpper> 
	 [ OF <oWnd> ] 
	 [ ID <nId> ] 
	 [ SIZE <width>, <height> ] 
	 [ WIDTH <nUpdWidth> ] 
	 [ COLOR <tcolor> ] 
	 [ BACKCOLOR <bcolor> ] 
	 [ ON INIT <bInit> ] 
	 [ ON SIZE <bSize> ] 
	 [ ON PAINT <bDraw> ] 
	 [ ON GETFOCUS <bGfocus> ] 
	 [ ON LOSTFOCUS <bLfocus> ] 
	 [ STYLE <nStyle> ] 
	 [ FONT <oFont> ] 
	 [ TOOLTIP <ctoolt> ]
4.3.25. @ <x>,<y> TAB

@ <x>,<y> TAB [ <oTab> ITEMS ] <aTabs>
	 [ OF <oWnd> ] 
	 [ ID <nId> ] 
	 [ SIZE <width>, <height> ] 
	 [ STYLE <nStyle> ] 
	 [ FONT <oFont> ] 
	 [ ON INIT <bInit> ] 
	 [ ON SIZE <bSize> ] 
	 [ ON PAINT <bDraw> ] 
	 [ ON CHANGE <bChange> ] 
	 [ ON CLICK <bClick> ] 
	 [ ON GETFOCUS <bGfocus> ] 
	 [ ON LOSTFOCUS <bLfocus> ] 
	 [ BITMAP <aBmp> [ FROM RESOURCE] [ BITCOUNT <nBC> ] ]
4.3.26. BEGIN PAGE

BEGIN PAGE <cname> OF <oTab>

4.3.27. END PAGE

END PAGE OF <oTab>

4.3.28. @ <x>,<y> TREE

@ <x>,<y> TREE [ <oTree> ]
	 [ OF <oWnd> ] 
	 [ ID <nId> ] 
	 [ SIZE <width>, <height> ] 
	 [ FONT <oFont> ] 
	 [ COLOR <tcolor> ] 
	 [ BACKCOLOR <bcolor> ] 
	 [ ON INIT <bInit> ] 
	 [ ON SIZE <bSize> ] 
	 [ STYLE <nStyle> ] 
         [ EDITABLE ] 
         [ BITMAP <aBmp>  [ FROM RESOURCE ] ]
4.3.29. INSERT NODE

INSERT NODE [ <oNode> TITLE ] <cTitle>
	 TO <oTree>  
	 [ AFTER <oPrev> ] 
	 [ BEFORE <oNext> ] 
	 [ BITMAP <aBmp> ] 
	 [ ON CLICK <bClick> ]
4.3.30. SET TIMER

SET TIMER [ <oTimer> ]
	 [ OF <oWnd> ]  
	 [ ID <id> ] 
	 VALUE <value>  
	 ACTION <bAction>
4.3.31. @ <x>,<y> BITMAP

@ <x>,<y> BITMAP [ <oBmp> SHOW ] <bitmap> 
         [<res: FROM RESOURCE> ] 
            [ OF <oWnd> ] 
            [ ID <nId> ] 
            [ SIZE <width>, <height> ] 
            [ ON INIT <bInit> ] 
            [ ON SIZE <bSize> ] 
            [ TOOLTIP <ctoolt> ]
4.3.32. @ <x>,<y> REDEFINE BITMAP
REDEFINE BITMAP [ <oBmp> SHOW ] <bitmap> 
            [ OF <oWnd> ] 
            [ ID <nId> ] 
            [ ON INIT <bInit> ] 
            [ ON SIZE <bSize> ] 
            [ TOOLTIP <ctoolt> ]
4.3.33. @ <x>,<y> ICON

@ <x>,<y> ICON [ <oBmp> SHOW ] <icon> 
         [<res: FROM RESOURCE> ] 
            [ OF <oWnd> ] 
            [ ID <nId> ] 
            [ SIZE <width>, <height> ] 
            [ ON INIT <bInit> ] 
            [ ON SIZE <bSize> ] 
            [ TOOLTIP <ctoolt> ]
4.3.34. @ <x>,<y> REDEFINE ICON
REDEFINE ICON [ <oBmp> SHOW ] <icon> 
            [ OF <oWnd> ] 
            ID <nId> 
            [ ON INIT <bInit> ] 
            [ ON SIZE <bSize> ] 
            [ TOOLTIP <ctoolt> ]
4.3.35. @ <x>,<y> IMAGE

@ <x>,<y> IMAGE [ <oBmp> SHOW ] <image> 
            [ OF <oWnd> ] 
            [ ID <nId> ] 
            [ SIZE <width>, <height> ] 
            [ ON INIT <bInit> ] 
            [ ON SIZE <bSize> ] 
            [ TOOLTIP <ctoolt> ]
4.3.36. @ <x>,<y> REDEFINE IMAGE
REDEFINE IMAGE [ <oBmp> SHOW ] <image> 
            [ OF <oWnd> ] 
            ID <nId> 
            [ ON INIT <bInit> ] 
            [ ON SIZE <bSize> ] 
            [ TOOLTIP <ctoolt> ]
4.3.37. @ <x>,<y> LINE

@ <x>,<y> LINE [ <oLine> ] 
            [ LENGTH <length> ] 
            [ OF <oWnd> ] 
            [ ID <nId> ] 
            [ VERTICAL] 
            [ ON SIZE <bSize> ]
4.3.38. @ <x>,<y> RICHEDIT

@ <x>,<y> RICHEDIT [ <oEdit> TEXT ] <vari> 
         [ OF <oWnd> ] 
         [ ID <nId> ] 
	 [ SIZE <width>, <height> ] 
	 [ COLOR <tcolor> ] 
	 [ BACKCOLOR <bcolor> ] 
         [ ON INIT <bInit> ] 
         [ ON SIZE <bSize> ] 
	 [ ON PAINT <bPaint> ] 
	 [ ON GETFOCUS <bGfocus> ] 
	 [ ON LOSTFOCUS <bLfocus> ] 
	 [ STYLE <nStyle> ] 
	 [ FONT <oFont> ] 
         [ TOOLTIP <ctoolt> ]
4.3.39. @ <x>,<y> SPLITTER

@ <x>,<y> SPLITTER [ <oSplit> ]  
         [ OF <oWnd> ] 
         [ ID <nId> ] 
	 [ SIZE <width>, <height> ] 
	 [ COLOR <tcolor> ] 
	 [ BACKCOLOR <bcolor> ] 
         [ ON SIZE <bSize> ] 
	 [ ON PAINT <bPaint> ] 
         [ DIVIDE  <aLeft> FROM <aRight> ]
4.3.40. @ <x>,<y> GRAPH

@ <x>,<y> GRAPH [ <oGraph> DATA ] <aData> 
         [ OF <oWnd> ] 
         [ ID <nId> ] 
	 [ SIZE <width>, <height> ] 
	 [ COLOR <tcolor> ] 
	 [ BACKCOLOR <bcolor> ] 
         [ ON SIZE <bSize> ] 
	 [ FONT <oFont> ] 
         [ TOOLTIP <ctoolt> ]
4.3.41. @ <x>,<y> PROGRESSBAR

@ <x>,<y> PROGRESSBAR <oPBar>  
         [ OF <oWnd> ] 
         [ ID <nId> ] 
	 [ SIZE <width>, <height> ] 
         [ BARWIDTH <maxpos> ] 
         [ QUANTITY <nRange> ]
4.3.42. @ <x>,<y> MONTHCALENDAR

@ <x>,<y> MONTHCALENDAR [ <oCalendar> ] 
         [ OF <oWnd> ] 
         [ ID <nId> ] 
         [ INIT <dInit> ] 
	 [ SIZE <width>, <height> ] 
         [ ON INIT <bInit> ] 
         [ ON CHANGE <bChange> ] 
	 [ STYLE <nStyle> ] 
	 [ FONT <oFont> ] 
         [ TOOLTIP <ctoolt> ] 
         [ NOTODAY ] 
         [ NOTODAYCIRCLE ] 
         [ WEEKNUMBERS ]
4.3.43. @ <x>,<y> LISTBOX

@ <x>,<y> LISTBOX [ <oList> ITEMS ] <aItems>  
         [ OF <oWnd> ] 
         [ ID <nId> ] 
         [ INIT <dInit> ] 
	 [ SIZE <width>, <height> ] 
         [ ON INIT <bInit> ] 
         [ ON SIZE <bSize> ] 
	 [ ON PAINT <bPaint> ] 
         [ ON CHANGE <bChange> ] 
	 [ STYLE <nStyle> ] 
	 [ FONT <oFont> ] 
         [ TOOLTIP <ctoolt> ]
4.3.44. @ <x>,<y> REDEFINE LISTBOX
REDEFINE LISTBOX [ <oList> ITEMS ] <aItems> 
            [ OF <oWnd> ] 
            ID <nId> 
            [ INIT <dInit> ] 
            [ ON INIT <bInit> ] 
            [ ON SIZE <bSize> ] 
            [ ON PAINT <bPaint> ] 
            [ ON CHANGE <bChange> ] 
            [ FONT <oFont> ] 
            [ TOOLTIP <ctoolt> ]
4.3.45. SPLASH

SPLASH [ <oPBar> TO ] <oBitmap>  
            [ FROM RESOURCE ] 
            [ TIME <otime> ]
            [WIDTH <w> ]
            [HEIGHT <h> ]
4.3.46. @ <x>,<y> TRACKBAR

@ <x>,<y> TRACKBAR [ <oTrack> ]  
         [ OF <oWnd> ] 
         [ ID <nId> ] 
	 [ SIZE <width>, <height> ] 
	 [ RANGE <nLow>, <nHigh> ] 
         [ INIT <dInit> ] 
         [ ON INIT <bInit> ] 
         [ ON SIZE <bSize> ] 
	 [ ON PAINT <bPaint> ] 
         [ ON CHANGE <bChange> ] 
         [ ON DRAG <bDrag> ] 
	 [ STYLE <nStyle> ] 
         [ TOOLTIP <ctoolt> ] 
         [ VERTICAL ] 
         [ AUTOTICKS ] 
         [ NOTICKS ] 
         [ BOTH ] 
         [ TOP ] 
         [ LEFT ]
4.3.47. @ <x>,<y> ANIMATION

@ <x>,<y> ANIMATION [ <oAnimation> ]  
         [ OF <oWnd> ] 
         [ ID <nId> ] 
	 [ STYLE <nStyle> ] 
	 [ SIZE <width>, <height> ] 
         [ FILE <cFile> ] 
         [ AUTOPLAY ] 
         [ CENTER ] 
         [ TRANSPARENT ]
4.4. Get system commands

Get system doesn't use a special class, something like HGet. It uses the same control classes ( HEdit, HCheckButton, etc. ), as usual control creating commands, only add there some new behavour.

4.4.1. @ <x>,<y> GET

@ <x>,<y> GET [ <oEdit> VAR ] <vari>
	 [ OF <oWnd> ] 
	 [ ID <nId> ] 
	 [ SIZE <width>, <height> ] 
	 [ COLOR <tcolor> ] 
	 [ BACKCOLOR <bcolor> ] 
	 [ PICTURE <cPicture> ] 
	 [ WHEN <bWhen> ] 
	 [ VALID <bValid> ] 
         [ NOBORDER ] 
         [ PASSWORD ] 
         [ MAXLENGTH <lMaxLength> ] 
	 [ STYLE <nStyle> ] 
	 [ FONT <oFont> ] 
	 [ TOOLTIP <ctoolt> ]
4.4.2. REDEFINE GET

REDEFINE GET [ <oEdit> VAR ] <vari>
	 [ OF <oWnd> ] 
	 ID <nId> 
	 [ COLOR <tcolor> ] 
	 [ BACKCOLOR <bcolor> ] 
	 [ WHEN <bWhen> ] 
	 [ VALID <bValid> ] 
	 [ FONT <oFont> ] 
	 [ TOOLTIP <ctoolt> ]
4.4.3. @ <x>,<y> GET CHECKBOX

@ <x>,<y> GET CHECKBOX [ <oEdit> VAR ] <vari>
         CAPTION  <caption>
	 [ OF <oWnd> ] 
	 [ ID <nId> ] 
	 [ SIZE <width>, <height> ] 
	 [ COLOR <tcolor> ] 
	 [ BACKCOLOR <bcolor> ] 
	 [ VALID,ON CLICK <bValid> ] 
	 [ STYLE <nStyle> ] 
	 [ FONT <oFont> ] 
	 [ TOOLTIP <ctoolt> ]
	 [ WHEN <bWhen> ]
4.4.4. REDEFINE GET CHECKBOX

REDEFINE GET CHECKBOX [ <oEdit> VAR ] <vari>
	 [ OF <oWnd>]  
	 ID <nId> 
	 [ COLOR <tcolor> ] 
	 [ BACKCOLOR <bcolor> ] 
	 [ VALID,ON CLICK <bValid> ] 
	 [ FONT <oFont> ] 
	 [ TOOLTIP <ctoolt> ]
4.4.5. @ <x>,<y> GET COMBOBOX

@ <x>,<y> GET COMBOBOX [ <oCombo> VAR ] <vari>
         ITEMS ] <aItems> 
	 [ OF <oWnd> ] 
	 [ ID <nId> ] 
	 [ SIZE <width>, <height> ] 
	 [ ON CHANGE <bChange> ]
         [ WHEN <bWhen> ]
         [ VALID <bValid> ]
	 [ STYLE <nStyle> ] 
	 [ FONT <oFont> ] 
	 [ EDIT ] 
	 [ TEXT ] 
	 [ TOOLTIP <ctoolt> ]
4.4.6. REDEFINE GET COMBOBOX

REDEFINE GET COMBOBOX [ <oCombo> VAR ] <vari>
         ITEMS ] <aItems> 
	 [ OF <oWnd> ] 
	 ID <nId> 
	 [ ON CHANGE <bChange> ] 
	 [ FONT <oFont> ] 
	 [ TOOLTIP <ctoolt> ]
4.4.7. GET RADIOGROUP

   GET RADIOGROUP [ <ogr> VAR ] <vari>
4.4.8. @ <x>,<y> GET DATEPICKER

@ <x>,<y> GET DATEPICKER [ <oPick> VAR ] <vari>
	 [ OF <oWnd>]  
	 [ ID <nId> ] 
	 [ SIZE <width>, <height> ] 
	 [ COLOR <tcolor> ] 
	 [ BACKCOLOR <bcolor> ] 
	 [ WHEN <bWhen> ] 
	 [ VALID <bValid> ] 
	 [ ON CHANGE <bChange> ]
	 [ STYLE <nStyle> ] 
	 [ FONT <oFont> ] 
	 [ TOOLTIP <ctoolt> ]
4.4.9. @ <x>,<y> GET UPDOWN

@ <x>,<y> GET UPDOWN[ <oUpDown> VAR ] <vari>
	 RANGE <nLower>, <nUpper> 
	 [ OF <oWnd> ] 
	 [ ID <nId> ] 
	 [ SIZE <width>, <height> ] 
	 [ WIDTH <nUpdWidth> ] 
	 [ COLOR <tcolor> ] 
	 [ BACKCOLOR <bcolor> ] 
	 [ PICTURE <cPicture> ] 
	 [ WHEN <bWhen> ] 
	 [ VALID <bValid> ] 
	 [ STYLE <nStyle> ] 
	 [ FONT <oFont> ] 
	 [ TOOLTIP <ctoolt> ]
4.4.10. SET KEY

 SET KEY <nctrl>, <nkey> [ OF <oDlg> ] [ TO <func> ]

4.5. Print commands 4.5.1. INIT PRINTER

INIT PRINTER <oPrinter>
         [ NAME <cPrinter> ] 
         [ PIXEL ]
4.5.2. INIT DEFAULT PRINTER

INIT DEFAULT PRINTER <oPrinter>
         [ PIXEL ]

prev table of contents next
introduction   functions