Purpose
Determines the foreground color in order to draw a selector cell in a certain state.
Class
Type
Method
Syntax
<oBrowser>:GetSelectorStateForeground(
<nRowNo>,
<aoColorSpec>,
<lFocus>,
<lSelected>,
<lDeleted>,
<lEnabled>,
<lEoF>,
<lCurrent>
) Æ oForeground
Arguments
<nRowNo> | Row number of the selector cell for which the foreground color is to be determined. |
Data Type: | Integer | Float |
<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