Method XbpBrowse():getColumn() Foundation
Retrieves a reference to a column (XbpColumn object ) in an XbpBrowse object.
:getColumn( <nColPos> [,<lCreatePosition>] ) --> oXbpColumn
:getColumn() returns a reference to the XbpColumn object held in position <nColPos>. The object reference can be used to make changes to the column at runtime.
When the numeric value <nColPos> is passed to the method :getColumn(), the XbpBrowse object returns a reference to the corresponding column object. Using the reference, changes to the column can be made that also update the column definition stored with the XbpBrowse. However, such changes are not immediately realized. Only when the XbpBrowse is notified explicitly through a :configure() or :refreshAll() will the changes to the column become visible.
By default, :getColumn() examines columns in the order they were added to the browse, and expects a matching column position to be specified in the <nColPos> parameter. This so-called creation order may be different from the order the columns are displayed in. This is because column ordering may be changed at runtime, for example using the :setLeftFrozen() method, or when columns are hidden with :hide(). To get a column given its on-screen position, set the <lCreatePosition> to .F. (FALSE).
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.