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 - <b>radiobuttons commands</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 RadioButtons Commands
--------------------------------------------------------------------------------


 Creating a RadioButton Menu   @ <nRow>, <nCol> RADIO [ <oRadMenu> VAR ] <nVar> ;
 from source code                 [ PROMPT | ITEMS <cItems,...> ] ;
                                  [ OF | WINDOW | DIALOG <oWnd> ] ;
                                  [ HELPID | HELP ID <nHelpId,...> ] ;
                                  [ ON CLICK | ON CHANGE <uChange> ]
                                  [ COLOR | COLORS <nClrFore>;
                                  [,<nClrBack>] ] ;
                                  [ MESSAGE <cMsg> ] ;
                                  [ UPDATE ] ;
                                  [ WHEN <uWhen> ] ;
                                  [ SIZE <nWidth>, <nHeight> ] ;
                                  [ VALID <ValidFunc> ] ;
                                  [ DESIGN ] ;
                                  [ 3D ] ;
                                  [ PIXEL ] ;

 Creating a RadioButton Menu   REDEFINE RADIO [ <oRadMenu> VAR ] <nVar> ;
 from resources                   [ ID <nId,...> ] ;
                                  [ OF | WINDOW | DIALOG <oWnd> ] ;
                                  [ HELPID | HELP ID <nHelpId,...> ] ;
                                  [ ON CLICK | ON CHANGE <uChange> ]
                                  [ COLOR | COLORS <nClrFore>;
                                  [,<nClrBack>] ] ;
                                  [ MESSAGE <cMsg> ] ;
                                  [ UPDATE ] ;
                                  [ WHEN <uWhen> ] ;
                                  [ VALID <ValidFunc> ] ;

 <nRow>, <nCol>         The coordinates of the RadioButton Menu. We simulate
                                text coordinates.

 <oRadMenu>      A reference to the RadMenu Object.

 <nVar>          The numeric variable which controls the RadioButton
                     Menu.

 <cItems>         A list of strings defining the prompts to be used
                      as radio elements.

 <oWnd>           A reference to the container Window of the Radio
                      Button Menu.

 <nHelpId>        A list of numeric help identifier to associate to
                  each radio control.

 <uChange>        An action to be performed when a new radio is
                      selected at the RadioButton Menu.

 <cMsg>          The associated message of this control

 <WhenFunc>      It is an expression to evaluate indicating if the control is
                     or not enable.

 <nWidth>        The dimensions of the control.
 <nHeigth>


 <ValidFunc>     An expression to validate when the control is going to
                     lose the focus.

CLAUSES

  3D              3D look.

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

 DESIGN           Allows the user to move and resize with the mouse.

 PIXEL            To use pixel coordinates instead of Text coordinates.



See Also: Class TRadMenu Class TRadio FiveWin.ch

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