Purpose
Adds a new column to the browser.
Class
Type
Method
Syntax
<oBrowser>:AddColumn(<oColumn>) Æ lSuccess
Arguments
<oColumn> | The column that is to be added to the browser. The column is attached to the list of the supported columns (see also bBrowser:ColumnList). |
Data Type: | bDataColumn |
Return Value
lSuccess | A logical value that indicates whether the column was added to the browser. |
TRUE | The column was added. |
FALSE | The column could not be added. |
Data Type: | Logic |
Description
bBrowser:AddColumn() adds a new column to the list of supported columns in the browser. The column does not open automatically. To open the column the method bBrowser:OpenColumn() must be called afterwards.
If the column already exists in the browser, it is not added the list and the method returns the value FALSE.
Important Note!
If several columns are added to the Browser with bBrowser:AddColumn() and then opened with the method bBrowser:OpenColumn(), then the method bBrowser:OpenColumn() should not be called for every column. All column objects should added in an array instead. The array can then passed to the method bBrowser:OpenColumn(). Through this all columns are opened in one step. This improves the runtime behavior considerably!
See Also
Page url: http://www.YOURSERVER.com/index.html?bbrowser_addcolumn.htm