Navigation:  Classes > bGrid >

bGrid:CalculateSize()

Print this Topic    Previous pageReturn to chapter overviewNext page

Purpose

Calculates the grid style thickness of the vertical and horizontal lines.

Class

bGrid

Type

Method

Syntax

<oGrid>:CalculateSize() Æ lSuccess

Return Value

lSuccessA logical value that indicates whether the thickness of the lines was calculated.
TRUEThe thickness of the lines was calculated.
FALSEThe thickness of the lines could not be calculated.
Data type:Logic

Description

bGrid:CalculateSize() calculates for the active grid style, the thickness of the vertical and horizontal lines. To achieve this, the methods bGrid:GetHeightOfStyle() and bGrid:GetWidthOfStyle() are called internally.

 

The method bGrid:CalculateSize() is called automatically by the bGrid object whenever the grid style were changed. In order to query to a later time the thickness again, the access bGrid:Width or  bGrid:Heightcan be used.

See Also

bGrid:GetHeightOfStyle()

bGrid:GetWidthOfStyle()

bGrid:Height

bGrid:Style

bGrid:Width

 


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