Member variable XbpBrowse():colPos Foundation

Contains the current column position of the browse cursor.

Attribute: EXPORTED
Data type: Numeric
Description

The instance variable :colPos contains a numeric value which represents the ordinal position of the column where the browse cursor currently is located. Note that this position is specified relative to the display order of the columns in the browse. This order may change over time, for example, when columns are hidden using :hide(), defined as frozen columns via :setLeftFrozen() or :setRightFrozen(), or reordered by changing a column's display index.

The method :getColumn() can be used to get the column object at the display position specified in :colPos. A column's unique position in the browser's column array on the other hand is reflected in the object's index member variable. This unique value is used as an identifier in methods such as :delColumn().

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.