Navigation:  Classes > bRecordGroupInfoStyle >

bRecordGroupInfoStyle:Init()

Print this Topic    Previous pageReturn to chapter overviewNext page

Purpose

Creates an object of class bCellGroupItemStyle.

Class

bRecordGroupInfoStyle

Type

Method

Syntax

bRecordGroupInfoStyle{

[<oForeground>],

[<oBackground>],

[<iAlignment>],

[<oFont>],

[<oGrid>],

[<iAlphaBlendRatio>],

[<iOptions>]

} Æ oRecordGroupInfoStyle

Arguments

<oForeground>The color that is to be used for the representation of the info value.
Data Type:Color

 

<oBackground>The color that is to be used for the representation of the background.
Data Type:Brush

 

<iAlignment>The alignment that is to be used for the representation of the info value. The following values are supported:

 

Constant

Description

BALIGN_AUTO

The default values for horizontal and vertical alignment are used.

BALIGN_LEFT

Left justified alignment.

BALIGN_RIGHT

Right justified alignment.

BALIGN_CENTER

Horizontal centered alignment.

BALIGN_TOP

Top justified alignment.

BALIGN_BOTTOM

Bottom justified alignment.

BALIGN_VCENTER

Vertical centered alignment.

 

Data Type:Integer

 

<oFont>The font that is to be used for the representation of the info value.
Data Type:Font

 

<oGrid>The grid that is to be represented around a info value.
Data Type:bGrid

 

<iAlphaBlendRatio>Mixture ratio for overlapping of two colors. The higher the value, the lower is the transparency. The lower  the value, the more this color shows through the other one. Supported values are 0 to 100 or the constants below:

 

Constant

Value

BABR_NONE

0

BABR_LIGHT

12

BABR_NORMAL

25

BABR_DARK

45

BABR_SOLID

100

BABR_AUTO

0xFFFFFFFF

 

The argument is supported only for Windows 2000 or newer operating systems. For older operating systems the value BABR_NONE should be used.

Data Type:DWord

 

<iOptions>Options that are to be used for the formatting of the info value. The following values are supported:

 

Option

Description

BRGISO_NONE

No options are defined.

BRGISO_AUTO

The following default options are used:

BRGISO_LINEBREAK

BRGISO_WORDBREAK

BRGISO_END_ELLIPSIS

If the value cannot be displayed completely then the value will be truncated and ellipsis are be added.

 

The option can not be combined with:

BRGISO_RTF

BRGISO_LINEBREAK

If the value contains line break characters (CRLF) then the value is broken at these.

 

The option can not be combined with:

BRGISO_RTF

BRGISO_RTF

The value is displayed as RTF text.

 

The option can not be combined with:

BRGISO_END_ELLIPSIS

BRGISO_LINEBREAK

BRGISO_WORDBREAK

If the value cannot be displayed completely in one line then the value will be broken at words.

 

The value BRGISO_AUTO is used as default.

Data Type:DWord

Return Value

oRecordGroupInfoStyleThe created object of the class bRecordGroupInfoStyle.
Data Type:bRecordGroupInfoStyle

Description

bbRecordGroupInfoStyle:Init() creates an object of the class bbRecordGroupInfoStyle and initializes it.

See Also

bBackgroundStyle:AlphaBlendRatio

bBackgroundStyle:Background

bRecordGroupInfoStyle:Grid

bRecordGroupInfoStyle:Options

bTextStyle:Alignment

bTextStyle:Foreground

bTextStyle:Font

 


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