Method TBrowse():firstScrCol() Foundation

Determines screen column where the first table column is displayed.

Syntax
:firstScrCol() --> nScreenCol
Return

The method :firstScrCol() returns a numeric value indicating the distance from the left margin of the TBrowse window to the data field in the first table column.

Description

All table columns in the TBrowse window are displayed centered. The method :firstScrCol() indicates the distance of the data field in the first table column from the left margin of the window. When the instance variable :freeze has a value greater than zero, the distance of the data field in the first horizontally scrollable column is returned. Table columns which are "frozen" are not taken into consideration. An example of how :firstScrCol() might be used is included in the function TBtoMousePos() in the BROWUTIL.PRG file. This function provides mouse navigation for a TBrowse object.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.