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 - get commands http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 GET Commands
--------------------------------------------------------------------------------
 Creating a GET from         @ <nRow>, <nCol> GET [ <oGet> VAR ] <uVar> ;
 source code                    [ OF | WINDOW | DIALOG <oWnd> ] ;
                                [ PICTURE <cPict> ] ;
                                [ VALID   <ValidFunc> ] ;
                                [ WHEN    <WhenFunc> ] ;
                                [ COLOR | COLORS <nClrFore>;
                                [,<nClrBack>] ] ;
                                [ SIZE <nWidth>, <nHeight> ];
                                [ FONT <oFont> ] ;
                                [ HSCROLL ] ;
                                [ CURSOR <oCursor> ] ;
                                [ PIXEL ] ;
                                [ MESSAGE <cMsg> ] ;
                                [ UPDATE ] ;
                                [ WHEN <WhenFunc> ] ;
                                [ CENTER | CENTERED> ] ;
                                [ RIGHT ] ;
                                [ READONLY | NO MODIFY ] ;
                                [ DESIGN ] ;
                                [ ON CHANGE <uChange> ] ;
                                [ PASSWORD ] ;


                             @ <nRow>, <nCol> GET [ <oGet> VAR <uVar> ] ;
 For editing Memos              [ OF | WINDOW | DIALOG <oWnd> ] ;
                                [ MULTILINE | MEMO | TEXT ] ;
                                [ COLOR | COLORS <nClrFore>;
                                [,<nClrBack>] ] ;
                                [ SIZE <nWidth>, <nHeight> ] ;
                                [ FONT <oFont> ] ;
                                [ DESIGN ] ;
                                [ CURSOR <oCursor> ] ;
                                [ PIXEL ] ;
                                [ MESSAGE <cMsg> ] ;
                                [ UPDATE ] ;
                                [ WHEN <WhenFunc> ] ;
                                [ CENTER | CENTERED ] ;
                                [ RIGHT ] ;
                                [ ON CHANGE <uChange> ] ;
                                [ HSCROLL ] ;
                                [ READONLY | NO MODIFY ] ;
                                [ VALID <ValidFunc> ] ;


 Using a GET from a          REDEFINE GET [ <oGet> VAR ] <uVar> ;
 resource Dialog Box            [ ID <nId> ] ;
                                [ OF | WINDOW | DIALOG <oWnd> ] ;
                                [ HELPID | HELP ID <nHelpId> ] ;
                                [ VALID   <ValidFunc> ]       ;
                                [ PICTURE <cPict> ] ;
                                [ COLOR | COLORS <nClrFore>;
                                [,<nClrBack>] ] ;
                                [ FONT <oFont> ] ;
                                [ CURSOR <oCursor> ] ;
                                [ MESSAGE <cMsg> ] ;
                                [ UPDATE ] ;
                                [ WHEN <WhenFunc> ] ;
                                [ ON CHANGE <uChange> ] ;
                                [ READONLY | NO MODIFY ] ;

 For editing Memos           REDEFINE GET [ <oGet> VAR ] <uVar> ;
                               [ MULTILINE | MEMO | TEXT ] ;
                               [ ID <nId> ] ;
                               [ OF | WINDOW | DIALOG <oWnd> ] ;
                               [ HELPID | HELP ID <nHelpId> ] ;
                               [ COLOR | COLORS <nClrFore> [,<nClrBack>] ] ;
                               [ FONT <oFont> ] ;
                               [ CURSOR <oCursor> ] ;
                               [ MESSAGE <cMsg> ] ;
                               [ UPDATE ] ;
                               [ WHEN <WhenFunc> ] ;
                               [ READONLY | NO MODIFY> ] ;
                               [ VALID <ValidFunc> ] ;
                               [ ON CHANGE <uChange> ] ;


 <nRow>, <nCol>  The coordinates of the GET. We simulate Text coordinates.

 <oGet>          A reference to the GET Object.

 <uVar>          The variable which the GET Object is manipulating.

 <oWnd>          The container window of the GET.

 <cPict>         Typical xBase PICTURE clause.

 <ValidFunc>     Validating expression or function. The same as in MsDos.

 <WhenFunc>      When Clause. Not available yet!

 <cColor>        The color of the GET. Not available yet!

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

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

 <oCursor>       A reference to the Cursor Object to dispay over this control.

 <cMsg>          The associated message of this control.

 <nId>           The numeric resource identifier of the Control.

 <nHelpId>       Help topic identifier for GETs from resources.

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

 <uChange>       An action to be performed when the Get changes.

 CLAUSES

 MULTILINE       To use a multiple lines GET control to allow memo
 MEMO            editing.
 TEXT

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

 CENTER          If the GET containts has to appear centered

 RIGHT           If the GET containts has to appear right justified.
                 Important: In order to right justify a GET from a DialogBox,
                 it has to be defined at the resource as MultiLine and
                 right and has to use the default font!

 PIXEL           To use pixel coordinates instead of Text coordinates.

 PASSWORD        Enter as Password.

 DESIGN          Allows the user to move and resize with the mouse

 HSCROLL         Horizontal Scroll

 READ ONLY       Disables editing in this control.
 NO MODIFY


See Also: TGet TMultiGet FiveWin.ch

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