Navigation:  Classes > bGrid >

bGrid:GetWidthOfStyle()

Print this Topic    Previous pageReturn to chapter overviewNext page

Purpose

Determines the thickness of the vertical lines for a grid style.

Class

bGrid

Type

Method

Syntax

<oGrid>:GetWidthOfStyle(<iStyle>) Æ iWidth

Arguments

<iStyle>The grid style for which the thickness of the vertical lines should to be determined. The following constants are supported:

 

Style

Appearance

BGRID_NONE

The grid does not have horizontal and vertical lines.

BGRID_OUTLINE

BGRID_OUTLINE

BGRID_OUTLINEHORIZONTAL

BGRID_OUTLINEHORIZONTAL

BGRID_OUTLINEVERTICAL

BGRID_OUTLINEVERTICAL

BGRID_CONVEX

BGRID_CONVEX

BGRID_CONVEXSMOOTH

BGRID_CONVEXSMOOTH

BGRID_AUTO

The appearance of the Grid depends on the context in that the grid is used.

 

Data Type:Integer

Return Value

iWidthThe determined thickness of the grid lines.
Data Type:Integer

Description

bGrid:GetWidthOfStyle() determines the thickness of the vertical lines for a grid style. The method is internally called by the method bGrid:CalculateSize() to calculate the thickness of the grid lines for the current grid.

See Also

bGrid:CalculateSize()

bGrid:GetHeightOfStyle()

bGrid:Height

bGrid:Style

 


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