TBrowse() > Display methods |
Retrieves or changes a browse style.
:setStyle( <nStyle>, [<lNewOnOff>] ) --> lOldOnOff
Constants for TBrowse styles
Constant | Value | Description |
---|---|---|
TBR_APPEND | 1 | Is the user allowed to add data to the data source? |
TBR_APPENDING | 2 | Is the user adding data to the data source? |
TBR_MODIFY | 3 | Is the user allowed to edit cells in the browser? |
TBR_MOVE | 4 | Is the user allowed to move columns in the browser? |
TBR_SIZE | 5 | Is the user allowed to resize columns in the browser? |
TBR_CUSTOM | 6 | Minimum value for use-defined custom styles. |
A TBrowse object maintains a set of styles that can be switched on and off. The styles can be used as a convenient way of implementing specific behaviour for a TBrowse object. A TBrowse object itself does not use this information.
http://www.xHarbour.com