Purpose
Determines the foreground color in order to draw a selector cell in a certain state.
Class
Type
Method
Syntax
<oBrowser>:GetSelectorStateForeground(
<iRow>,
<aoColorSpec>,
<lFocus>,
<lSelected>,
<lDeleted>,
<lEnabled>,
<lEoF>,
<lCurrent>
) Æ oForeground
Arguments
<iRow> | Row number of the selector cell for which the foreground color is to be determined. |
Data type: | Integer |
<aoColorSpec> | Array with the foreground and background colors for normal and selected display. The array is determined with the method bBrowser:GetSelectorColorSpec(). |
Data type: | Array |
<lFocus> | Logical value which indicates whether the foreground color for the focus state is to be determined. |
Data type: | Logic |
<lSelected> | Logical value which indicates whether the foreground color for the selected state is to be determined. |
Data type: | Logic |
<lDeleted> | Logical value which indicates whether the foreground color for the deleted state is to be determined. |
Data type: | Logic |
<lEnabled> | Logical value which indicates whether the foreground color for the enabled or disabled state is to be determined. |
Data type: | Logic |
<lEoF> | Logical value which indicates whether the foreground color for the end of file state is to be determined. |
Data type: | Logic |
<lCurrent> | A logical value which indicates whether the foreground color for the current record is to be determined. |
Data type: | Logic |
Return Value
oForeground | This determines the foreground color. |
Data type: | Color |
Description
bBrowser:GetSelectorStateForeground() is called internally by the draw methods of the bBrowser in order to determine the foreground color for a selector cell in a certain state.
Complex states can be defined by the combination of the individual arguments
• | lFocus |
• | lSelected |
• | lDeleted |
• | lEnabled |
• | lEoF |
• | lCurrent |
See Also
bBrowser:GetSelectorBackground()
bBrowser:GetSelectorColorSpec()
bBrowser:GetSelectorStateBackground()
Page url: http://www.YOURSERVER.com/index.html?bbrowser_getselectorstateforeg.htm