Purpose
Determines the forground colour to use for an info value when drawing.
Class
Type
Method
Syntax
<oBrowser>:GetInfoForeground(<iInfoState>) Æ oForeground
Arguments
<iInfoState> | The state to whose info value the foreground color 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
oForeground | The determined foreground color. |
Data Type: | Color |
Description
In order to determine the foreground 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 foreground color (see also bViewStyle:Foreground) is set unequal to NULL_OBJECT.
Ü If it is, this foreground color is returned.
2.it is examined whether for the info values a global bBrowser:InfoView object is defined and whether in this a foreground color (see also bViewStyle:Foreground) is set unequal to NULL_OBJECT.
Ü If it is, this foreground color is returned.
3.Ü the value NULL_OBJECT is returned.
See Also
bBrowser:GetInfoAlphaBlendRatio()
Page url: http://www.YOURSERVER.com/index.html?bbrowser_getinfoforeground.htm