[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 ComboBox Commands
--------------------------------------------------------------------------------

 Creating a ComboBox         @ <nRow>, <nCol> COMBOBOX [ <oCbx> VAR ] <cVar> ;
 from source code               [ ITEMS <aItems> ] ;
                                [ SIZE <nWidth>, <nHeight> ] ;
                                [ OF | WINDOW | DIALOG <oWnd> ] ;
                                [ HELPID | HELP ID <nHelpId> ] ;
                                [ ON CHANGE <uChange> ] ;
                                [ VALID   <ValidFunc> ] ;
                                [ COLOR | COLORS <nClrText>;
                                [,<nClrBack>] ] ;
                                [ PIXEL ] ;
                                [ FONT <oFont> ] ;
                                [ UPDATE ] ;
                                [ MESSAGE <cMsg> ] ;
                                [ WHEN <WhenFunc> ] ;



 Creating a ComboBox         REDEFINE COMBOBOX [ <oCbx> VAR ] <cVar> ;
 from resources                 [ ITEMS <aItems> ] ;
                                [ ID <nId> ] ;
                                [ OF | WINDOW | DIALOG <oWnd> ] ;
                                [ HELPID | HELP ID <nHelpId> ] ;
                                [ ON CHANGE <uChange> ] ;
                                [ VALID   <ValidFunc> ] ;
                                [ COLOR | COLORS <nClrText>;
                                [,<nClrBack>] ] ;
                                [ UPDATE ] ;
                                [ MESSAGE <cMsg> ] ;
                                [ WHEN <WhenFunc> ] ;



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

 <oCbx>          A reference to the ComboBox Object.

 <cVar>          A character variable which keeps the actual item selected
                 in the ComboBox.

 <aItems>        The items showed on the ComboBox.

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

 <oWnd>          The container window of the ComboBox.

 <nHelpId>       The help topic numeric identifier of the control.

 <uChange>       An action to be performed every time the selected item
                 changes.

 <cMsg>          The associated message of this control.

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

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

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

 <WhenFunc>      When expression code block

 <nId>           The numeric resource identifier of the Control.

CLAUSES

 PIXEL           To use pixel coordinates instead of Text coordinates.

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

 !seealso: TComboBo.eho:TComboBox Headers.eho:FiveWin.ch



This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson