Navigation:  Classes > bBrowser >

bBrowser:AdjustAutoWidthColumn()

Print this Topic    Previous pageReturn to chapter overviewNext page

Purpose

Adjusted the width of the column bBrowser:AutoWidthColumn so that the entire width of data area in the browser is filled with columns.

Class

bBrowser

Type

Method

Syntax

<oBrowser>:AdjustAutoWidthColumn(

[<lRecalculate>],

[<lRedraw>]

) Æ lAdjust

Arguments

<lRecalculate>A logical value that indicates whether the browser is to be recalculated if the width of the column were adjusted. If this argument is not specified the default value TRUE is used.
Data Type:Logic

 

<lRedraw>A logical value that indicates whether the browser is to be redrawn. If this argument is not specified the default value TRUE is used.
Data Type:Logic

Return Value

lSuccessA logical value that indicates whether the width of the column was adjusted.
TRUEThe column width was adjusted.
FALSEThe column width was not adjusted.
Data Type:Logic

Description

bBrowser:AdjustAutoWidthColumn(), based on the access bBrowser:AutoWidthColumn determines the width of all columns and adjusts the width of the auto width column in such a way that the entire width of data area in the browser is filled with columns.

 

The minimum and maximum width of the column can be limited with the accesses bDataColumn:WidthMin and bDataColumn:WidthMax.

 

The method bBrowser:AdjustAutoWidthColumn() is called automatically by bBrowser if the column defined in the access bBrowser:AutoWidthColumn is opened in the browser and if

a new column is opened,

an opened column is closed,

the width of the bBrowser is changed or

the width of an opened column is changed.

 

Remarks

The width of the Auto-Width-Column is not adjusted, if the width of all other open columns is larger than the data area in the bBrowser.

See Also

bBrowser:AutoWidthColumn

bBrowser:GetAutoWidthColumn()

bDataColumn:WidthMax

bDataColumn:WidthMin

 


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