Navigation:  Classes > bBrowser >

bBrowser:GetInfoBackground()

Print this Topic    Previous pageReturn to chapter overviewNext page

Purpose

Determines background color to use for an info value when drawing.

Class

bBrowser

Type

Method

Syntax

<oBrowser>:GetInfoBackground(<iInfoState>) Æ oBackground

Arguments

<iInfoState>The state to whose info value the background color 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

oBackgroundThe determined background color.
Data type:Brush

Description

In order to determine the background color 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 background color (see also bViewStyle:Background) unequal to NULL_OBJECT.
Ü If it is, this background color is returned.
2.it is examined whether for the info values a global bBrowser:InfoView object is defined and whether in this a background color (see also bViewStyle:Background) is set unequal to NULL_OBJECT.
Ü If it is, this background color is returned.
3.Ü the value NULL_OBJECT is returned.

See Also

bBrowser:GetInfoAlignment()

bBrowser:GetInfoAlphaBlendRatio()

bBrowser:GetInfoFont()

bBrowser:GetInfoForeground()

bBrowser:GetInfoGrid()

bBrowser:GetInfoView()

bBrowser:InfoView

bBrowser:SetInfoView()

 


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