Navigation:  Classes > bBorderStyle >

bBorderStyle:Init()

Print this Topic    Previous pageReturn to chapter overviewNext page

Purpose

Creates an object of the class bBorderStyle.

Class

bBorderStyle

Type

Method

Syntax

bBorderStyle{

[<iStyle>],

[<oForeground>],

[<uThickness>],

[<uOuterSpace>],

[<uInnerSpace>]

} Æ oBorderStyle

Arguments

<iStyle>The graphic representation of the border. The following predefined styles are supported:

 

Constant

Description

Sample

BBS_NONE

No border is displayed.

 

BBS_STANDARD

The border is displayed as a rectangle with dotted lines.

BBS_STANDARD

BBS_SOLID

The border is displayed as a rectangle with solid lines.

BBS_SOLID

BBS_RAISED

The border is displayed as a raised rectangle.

BBS_RAISED

BBS_SUNKEN

The border is displayed as a sunken rectangle.

BBS_SUNKEN

BBS_ETCHED

The border is displayed as a rectangle with etched lines.

BBS_ETCHED

BBS_BULGED

The border is displayed as a bulged rectangle.

BBS_BULGED

 

If the argument is not specified, the value BBS_SOLID is used as default.

Data Type:Integer

 

<oForeground>The foreground color of the border. If the argument is not specified, the color black is used as default.
Data Type:Color

 

<uThickness>The thickness of the border either as integer value or as an object of the class bRectangle. If an integer value is specified then an object of the class bRectangle with this value is created automatically. In this case all 4 sides of the border have the same thickness. If the argument is not specified, the value 1 is used as default.
Data Type:Integer | bRectangle

 

<uOuterSpace>The space between the exterior area and the border. Either as integer value or as an object of the class bRectangle. If an integer value is specified then an object of the class bRectangle with this value is created automatically. In this case all 4 sides of the border have the same thickness. If the argument is not specified, the value 0 is used as default.
Data Type:Integer | bRectangle

 

<uInnerSpace>The space between the border and the interior area either as integer value or as an object of the class bRectangle. If an integer value is specified then an object of the class bRectangle with this value is created automatically. In this case all 4 sides of the border have the same thickness. If the argument is not specified, the value 0 is used as default.
Data Type:Integer | bRectangle

Return Value

oBorderStyleThe created object of the class bBorderStyle.
Data Type:bBorderStyle

Description

bBorderStyle:Init() creates a new object of the class bBorderStyle and initializes it.

See Also

bBorderStyle:Foreground

bBorderStyle:InnerSpace

bBorderStyle:OuterSpace

bBorderStyle:Style

bBorderStyle:Thickness

 


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