Purpose
Determines the foreground color that is used when drawing a specific column.
Class
Type
Method
Syntax
<oBrowser>:GetColumnForeground(
<symStyle>,
<oColumn>
) Æ oForeground
Arguments
<symStyle> | A value that indicates whether the foreground color is to be determined for the column caption, the column values or for the column footer. The following values are supported: |
Value |
Description |
#Caption |
The foreground color is determined for the column caption. |
#Data |
The foreground color is determined for the column values. |
#Footer |
The foreground color is determined for the column footer. |
Data Type: | Symbol |
<oColumn> | The column to which the foreground color is to be determined. |
Data Type: | bDataColumn |
Return Value
oForeground | The determined foreground color. |
Data Type: | Color |
Description
If the foreground color is determined for the column caption,
1.it is examined whether in the column a bBrowserColumn:CaptionView object is defined and whether in this a foreground color (see also bBrowserColumn:CaptionView:Foreground) is set unequal to NULL_OBJECT.
Ü If it is, this foreground color is returned.
2.it is examined whether in the browser a bBrowser:CaptionView object is defined.
Ü If it is, the foreground color (see also bBrowser:CaptionView:Foreground) from this object is returned.
3.Ü the value NULL_OBJECT is returned.
If the foreground color is determined for the column values,
1.it is examined whether in the column a bBrowserColumn:DataView object is defined and whether in this a foreground color (see also bBrowserColumn:DataView:Foreground) is set unequal to NULL_OBJECT.
Ü If it is, this foreground color is returned.
2.it is examined whether in the browser a bBrowser:DataView object is defined.
Ü If it is, the foreground color (see also bBrowser:DataView:Foreground) from this object is returned.
3.Ü the value NULL_OBJECT is returned.
If the foreground color is determined for the column footer,
1.it is examined whether in the column a bBrowserColumn:FooterView object is defined and whether in this a foreground color (see also bBrowserColumn:FooterView:Foreground) is set unequal to NULL_OBJECT.
Ü If it is, this foreground color is returned.
2.it is examined whether in the browser a bBrowser:FooterView object is defined.
Ü If it is, the foreground color (see also bBrowser:FooterView:Foreground) from this object is returned.
3.Ü the value NULL_OBJECT is returned.
See Also
bBrowser:GetColumnBackground()
Page url: http://www.YOURSERVER.com/index.html?bbrowser_getcolumnforeground.htm