Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FiveWin 1.9.2 - January 97 - checkbox commands http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 CheckBox Commands
--------------------------------------------------------------------------------

 Creating a CheckBox         @ <nRow>, <nCol> CHECKBOX [ <oCbx> VAR ] <lVar> ;
 from source code              [ PROMPT <cCaption> ] ;
                               [ OF | WINDOW | DIALOG <oWnd> ] ;
                               [ SIZE <nWidth>, <nHeight> ] ;
                               [ HELPID | HELP ID <nHelpId> ] ;
                               [ FONT <oFont> ] ;
                               [ ON CLICK | ON CHANGE <uClick> ] ;
                               [ VALID   <ValidFunc> ] ;
                               [ COLOR | COLORS <nClrFore>;
                               [,<nClrBack>] ];
                               [ DESIGN ] ;
                               [ PIXEL ] ;
                               [ MESSAGE <cMsg> ] ;
                               [ UPDATE ] ;
                               [ WHEN <WhenFunc> ] ;

 Using a CheckBox from       REDEFINE CHECKBOX [ <oCbx> VAR ] <lVar> ;
 a resource Dialog Box         [ ID <nId> ] ;
                               [ OF | WINDOW | DIALOG <oWnd> ] ;
                               [ HELPID | HELP ID <nHelpId> ] ;
                               [ ON CLICK | ON CHANGE <uClick> ];
                               [ VALID   <ValidFunc> ];
                               [ COLOR | COLORS <nClrFore>;
                               [,<nClrBack>] ] ;
                               [ MESSAGE <cMsg> ] ;
                               [ UPDATE ] ;
                               [ WHEN <WhenFunc> ] ;



 <nRow>, <nCol>  The coordinates of the CheckBox. They mimic text mode coordinates.

 <oCbx>          A reference to the CheckBox Object.

 <lVar>          The logical variable to be managed by the CheckBox.

 <cCaption>      The label of the CheckBox

 <oWnd>          The container window of the CheckBox.

 <nWidth>,       The dimensions of the CheckBox in pixels.
 <nHeight>

 <nHelpId>       The help topic value of the CheckBox.

 <oFont>         A reference to the Font Object to be used with the CheckBox.

 <uClick>        An action to be performed when the CheckBox changes.

 <ValidFunc>     An expression or function to be validated when the
                 CheckBox loses its focus.

 <nClrFore>      Foreground color as a RGB number, or as a xBase string
 <nClrBack>      Background color as a RGB number

 <cMsg>          The associated message of this control.

 <WhenFunc>      When expression code block.

 <nId>           The numeric resource identifier of the Control.

CLAUSES

 DESIGN         Allows the user to move and resize with the mouse

 PIXEL          To use pixel coordinates instead of Text coordinates.

 UPDATE         This control may be updated from TDialog:Update() METHOD


See Also: TCheckBox FiveWin.ch

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson