Navigation:  Classes > bBrowser >

bBrowser:AddColumn()

Print this Topic    Previous pageReturn to chapter overviewNext page

Purpose

Adds a new column to the browser.

Class

bBrowser

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

lSuccessA logical value that indicates whether the column was added to the browser.
TRUEThe column was added.
FALSEThe 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

bBrowser:OpenColumn()

bBrowser:Use()

 


Page url: http://www.YOURSERVER.com/index.html?bbrowser_addcolumn.htm