Method TBColumn():new() Foundation

Generates an instance of a TBColumn object.

Syntax
TBColumn():new( [<cHeading>] [, <bVarBlock>] ) --> oTBColumn
Parameters
<cHeading>
<cHeading> is a character expression which contains the column heading displayed by a TBColumn object. A column heading is displayed in multiple lines when a semicolon is contained in the character expression. The default value is NIL.
<bVarBlock>
<bVarBlock> is a code block which retrieves the value which is displayed by the TBColumn object. Since a TBColumn object is used for the display of columns in a tabular format, (see the TBrowse class), <bVarBlock> is usually a code block that retrieves a field or a value from an array. The default value is to NIL.
Return

The class method :new() returns a new TBColumn object, which with the help of the code block <bVarBlock> is able to retrieve the data of an individual column of data for a TBrowse object. If a a character string is contained in <cHeading>, this is displayed as the column heading. Other TBColumn instance variables can be assigned values which affect the various configuration options of a column 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.