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>new</b> constructor from source code http://www.ousob.com [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 New             Constructor from source code
--------------------------------------------------------------------------------

   TWBrowse::New( nRow, nCol, nWidth, nHeight, bLine, aHeaders, aColSizes,
                  oWnd, cField, uVal1, uVal2, bChange, bLDblClick, bRClick,
                  oFont, oCursor, nClrFore, nClrBack, cMsg, lUpdate, cAlias,
                  lPixel, bWhen, lDesign, bValid, bLClick )

 <nRow>, <nCol>    The coordinates where to place the browse. They are simulated
                   text coordinates unless you specify the PIXEL clause to
                   treat them as pixels.

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

 <bLine>           A codeblock that returns an array with the expressions
                   to display the contents of the selected row.

 <aHeaders>        An array of string expressions with the headers of
                   each column.

 <aColSizes>       An array of numeric values with the width of each column.

 <oWnd>            The container object of the browse. Normally it is the
                   window or the dialog where the browse is placed.

 <cField>          The expression for the SELECT <cField> FOR ... TO ... clause.
                   It is a string expression.

 <uVal1>           The expression for the SELECT ... FOR <uVal1> TO ... clause.
                   It may be of any type and it is used to perform a SEEK
                   of it when doing the <oBrw>:GoTop()

 <uVal2>           The expression for the SELECT ... FOR ... TO <uVal2> clause.
                   It may be of any type and it is used to look or the latest
                   selected value. By default FiveWin will look for the nearest
                   value where the index key changes.

 <bChange>         A codeblock to evaluate every time a new row in the browse
                   is selected.

 <bLDblClick>      A codeblock to evaluate when left double clicking with the
                   mouse on the browse.

 <bRClick>         A codeblock to evaluate when right clicking with the mouse
                   on the browse.

 <oFont>           The font object to use to display the text of the rows.
                   By default it takes the font of its container object.

 <oCursor>         An optional cursor object to change the appearance of the
                   mouse when the mouse is over the browse. By default the
                   mouse will look with the standard arrow.

 <nClrFore>        A numeric value indicating the RGB color to use for the
                   text color of the browse.

 <nClrBack>        A numeric value indicating the RGB color to use for the
                   background color of the browse.

 <cMsg>            An optional message to display on the buttonbar -if the
                   defined- of its container object.

 <lUpdate>         A logical value indicating that this control must be
                   automatically :Refresh() ed when doing a <oDlg>:Update()
                   to its container object.

 <cAlias>          The alias where this browse must operate. By default the
                   browse assumes the current selected workarea.

 <lPixel>          If the coordinates nRow and nCol supplied should be
                   considered as pixels.

 <bWhen>           A codeblock to evaluate to enable or disable the control.

 <lDesign>         If the browse should be moved around when clicking the
                   mouse over it. By default is .f.. If you change it into
                   .t., even at run-time- you will be able to drag around the
                   control with the click of the mouse.

 <bValid>          A codeblock to control if this control should leave
                   or not the focus.

 <bLClick>         A codeblock to evaluate when left clicking the mouse
                   over it. This codeblock will be evaluated besides changing
                   the selected browse row.



Online resources provided by: http://www.ousob.com --- NG 2 HTML conversion by Dave Pearson