Method TBrowse():addColumn() Foundation

Attaches a column (TBColumn object) to a TBrowse object.

Syntax
:addColumn( <oTBColumn> ) --> self
Parameters
<oTBColumn>
<oTBColumn> is a TBColumn object which retrieves a particular column of data from the data source which is then displayed by a TBrowse object.
Return

:addColumn() returns a reference to the TBrowse object.

Description

A TBrowse column object must be passed to the :addColumn() method. :addColumn attaches the column object to the end of an internal array of column objects administered by the TBrowse object, and increments the instance variable:colCount by 1. After calling :addColumn() the TBrowse object is reconfigured which causes the data source to be re-read and the browse window to be redisplayed during the next stabilization.

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.