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

 Defining a Browse Object  @ <nRow>, <nCol> LISTBOX [ <oBrw> ] ;
 from source code            FIELDS <cFields,...> ;
                             [ ALIAS <cAlias>] ;
                             [ FIELDSIZES | SIZE | COLSIZES <aColSizes,...> ] ;
                             [ HEAD | HEADER | HEADERS | TITLE <aHeaders,...> ] ;
                             [ ID <nId> ] ;
                             [ SIZE <nWidth>, <nHeigth> ] ;
                             [ SELECT <cField> FOR <uValue1> [ TO <uValue2>] ] ;
                             [ ON CHANGE <uChange> ] ;
                             [ ON RIGHT CLICK <uRClick> ] ;
                             [ ON [LEFT] CLICK <uLClick> ] ;
                             [ ON [LEFT] DBLCLICK <uDblClick> ] ;
                             [ FONT <oFont>] ;
                             [ CURSOR <oCursor>] ;
                             [ COLOR | COLORS <nClrFore> [,<nClrBack>] ] ;
                             [ MESSAGE <cMsg>] ;
                             [ UPDATE ] ;
                             [ PIXEL ] ;
                             [ WHEN <uWhen> ] ;
                             [ DESIGN ] ;
                             [ VALID <ValidFunc> ] ;
                             [ ACTION <uAction,...> ] ;
                             [ OF | DIALOG <oDlg> ]



 Redefining a Browse      REDEFINE LISTBOX [ <oBrw> ] ;
 from resources              FIELDS [ <cFields,...>] ;
                             [ ALIAS <cAlias> ] ;
                             [ ID <nId> ] ;
                             [ FIELDSIZES | SIZES | COLSIZES <aColSizes,...> ] ;
                             [ HEAD | HEADER | HEADERS <aHeaders,...> ] ;
                             [ SELECT <cField> FOR <uValue1> [ TO <uValue2> ] ] ;
                             [ ON CHANGE <uChange> ] ;
                             [ ON RIGHT CLICK <uRClick> ] ;
                             [ ON [LEFT] CLICK <uLClick> ] ;
                             [ ON [LEFT] DBLCLICK <uDblClick> ] ;
                             [ FONT <oFont> ] ;
                             [ CURSOR <oCursor> ] ;
                             [ COLOR | COLORS <nClrFore> [,<nClrBack>] ] ;
                             [ MESSAGE <cMsg> ] ;
                             [ UPDATE ] ;
                             [ WHEN <uWhen> ] ;
                             [ VALID <ValidFunc> ] ;
                             [ ACTION <uAction,...> ] ;
                             [ OF | WINDOW | DIALOG <oDlg> ]


 <oBrw>          A reference to the TWBrowse Object.
 <nRow>          Position on container window. We simulate text
 <nCol>          coordinates.

 <cFields>       A list of text expressions to display as columns.
                     If an expression is of numeric type, TWbrowse
                     will manage it as the handle of a bitmap to be
                     displayed.

 <aColSizes>     A list of sizes for each column in pixels.
 <aHeaders>      A list of text expressions for headers.
 <nId>           Is the numeric identifier of the TWBrowse control.

 <nWidth>        The desired size of the TWbrowse control in pixels.
 <nHeigth>

 <uChange>       An action to be performed when selecting a new row.

 <uRClick>       An action to be performed when right clicking

 <uLClick>       An action to be performed when left clicking

 <uLDblClick>    An action to be performed when Double Left clicking

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

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

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

 <nClrBack>      Background color as a RGB number

 <uAction,...>

 <cField>        Must be the Field key of the current INDEX !!!

 <oDlg>          The object that contain the TWbrowse control.


 CLAUSES

 DESIGN         Allows the user to move and resize with the mouse

 PIXEL          To use pixel coordinates instead of Text coordinates.


See Also: Class TWBrowse TControl

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