Navigation:  Classes > bFocusStyle >

bFocusStyle:Init()

Print this Topic    Previous pageReturn to chapter overviewNext page

Purpose

Creates an object of class bFocusStyle.

Class

bFocusStyle

Type

Method

Syntax

bFocusStyle{

[<iStyle>],

[<oForeground>],

[<uThickness>],

[<uMarginSpace>]

} Æ oFocusStyle

Arguments

<iStyle>The graphic representation of the border from the focus rectangle. 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

 

<uMarginSpace>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

oFocusStyleThe created object of the class bFocusStyle.
Data type:bFocusStyle

Description

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

 


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