Navigation:  Classes > bBrowser >

bBrowser:GetColumnForeground()

Print this Topic    Previous pageReturn to chapter overviewNext page

Purpose

Determines the foreground color that is used when drawing a specific column.

Class

bBrowser

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

oForegroundThe 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 bViewStyle: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 bViewStyle: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 bViewStyle: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 bViewStyle: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 bViewStyle: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 bViewStyle:Foreground) from this object is returned.
3.Ü the value NULL_OBJECT is returned.

See Also

bBrowser:CaptionView

bBrowser:DataView

bBrowser:FooterView

bBrowser:GetColumnBackground()

bBrowserColumn:CaptionView

bBrowserColumn:DataView

bBrowserColumn:FooterView

 


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