Navigation:  Classes > bBrowser >

bBrowser:GetInfoFont()

Print this Topic    Previous pageReturn to chapter overviewNext page

Purpose

Determines the font to use for an info value when drawing.

Class

bBrowser

Type

Method

Syntax

<oBrowser>:GetInfoFont(<iInfoState>) Æ oFont

Arguments

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

 

State

Description

BINFO_INREADPROCESS

The bBrowser reads data about a slow connection.

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.

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.

 

Data Type:Integer

Return Value

oFontThe determined font.
Data Type:Font

Description

In order to determine the font for an info value,

1.it is examined whether for the info value a bViewStyleobject is defined (see also bBrowser:GetInfoView()) and whether in this a font (see also bViewStyle:Font) is set unequal to NULL_OBJECT.
Ü If it is, this font is returned.

2.it is examined whether for the info values a global bBrowser:InfoView object is defined and whether in this a font (see also bViewStyle:Font) is set unequal to NULL_OBJECT.
Ü If it is, this font is returned.

3.Ü the value NULL_OBJECT is returned.

See Also

bBrowser:GetInfoAlignment()

bBrowser:GetInfoAlphaBlendRatio()

bBrowser:GetInfoBackground()

bBrowser:GetInfoForeground()

bBrowser:GetInfoGrid()

bBrowser:GetInfoView()

bBrowser:InfoView

bBrowser:SetInfoView()

 


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