Navigation:  Classes > bBrowser >

bBrowser:GetInfoAlignment()

Print this Topic    Previous pageReturn to chapter overviewNext page

Purpose

Determines the alignment to use for info value when drawing.

Class

bBrowser

Type

Method

Syntax

<oBrowser>:GetInfoAlignment(<iInfoState>) Æ iAlignment

Arguments

<iInfoState>The state to whose info value the alignment is to be determined. The following table lists the supported states:

 

State

Description

BINFO_NOSERVER

The browser is not linked to a data server.

BINFO_SERVERNOTUSED

The data server that is linked with the browser is not opened.

BINFO_NORECORDS

The data server that is linked to the browser does not contain records. This state also arises, for example, if a filter or selective relation hides all records.

 

Data type:Integer

Return Value

iAlignmentThe determined alignment. A combination of the following values can be returned:

 

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

Description

In order to determine the alignment for an info value,

1.it is examined whether a bViewStyle object is defined for the info value (see also bBrowser:GetInfoView()) and whether or not this has an alignment (see also bViewStyle:Alignment) unequal to BALIGN_AUTO.
Ü If it is, this alignment is returned.
2.it is examined whether a global bBrowser:InfoView object is defined for info value and whether in this object an alignment (see also bViewStyle:Alignment) is set unequal to BALIGN_AUTO.
Ü If it is, this alignment is returned.
3.Ü the alignment BALIGN_CENTER is returned.

See Also

bBrowser:GetInfoAlphaBlendRatio()

bBrowser:GetInfoBackground()

bBrowser:GetInfoFont()

bBrowser:GetInfoForeground()

bBrowser:GetInfoGrid()

bBrowser:GetInfoView()

bBrowser:InfoView

bBrowser:SetInfoView()

 


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