Navigation:  Classes > bBrowserColumn >

bBrowserColumn:GetGridSize()

Print this Topic    Previous pageReturn to chapter overviewNext page

Purpose

Calculate the width of a column border.

Class

bBrowserColumn

Type

Method

Syntax

<oBrowserColumn>:GetGridSize(<symStyle>, <iMode>) Æ iWidth

Arguments

<symStyle>Define the area for which the border width should to be calculated. The following values are supported:

 

Value

Description

#Caption

The width of the column border is calculated for the column caption.

#Data

The width of the column border is calculated for the column data.

#Footer

The width of the column border is calculated for the column footer.

 

Data Type:Symbol

 

<iMode>Define how the width of the column border should to be calculated. The following values are supported:

 

Mode

Description

BDCGGSM_LEFT

The left border of the column is taken into account.

BDCGGSM_RIGHT

The right border of the column is taken into account.

BDCGGSM_ALLGROUPS

All parent group columns are taken into account.

BDCGGSM_GROUPLEFT

The left border of the parent group  columns is taken into account.

 

The value is only take into account if BDCGGSM_ALLGROUPS is defined.

BDCGGSM_GROUPRIGHT

The right border of the parent group column is taken into account.

 

The value is only take into account if BDCGGSM_ALLGROUPS is defined.

 

Several values can be combined.

Data Type:DWord

Return Value

iWidthThe calculated width of the column border.
Data Type:Integer

Description

bBrowserColumn:GetGridSize() calculates the width of the column border for one of the following areas:

Column Caption

Column Data

Column Footer

 

For the calculation, the grid of the appropriate area is used. If no grid is defined for the area in the column, then the grid for the appropriate area from bBrowser itself is used if defined.

 

The calculation takes into account both the width of the grid lines and the width of the inner space and outer space.

See Also

bBrowser:CaptionView

bBrowser:DataView

bBrowser:FooterView

bBrowserColumn:CaptionView

bBrowserColumn:DataView

bBrowserColumn:FooterView

bGrid

 


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