Purpose
Determines the background color in order to draw a selector cell in a certain state.
Class
Type
Method
Syntax
<oBrowser>:GetSelectorStateBackground(
<nRowNo>,
<aoColorSpec>,
<lFocus>,
<lSelected>,
<lDeleted>,
<lEnabled>,
<lEoF>,
<lCurrent>
) Æ oBackground
Arguments
<nRowNo> | Row number of the selector cell for which the background 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 derived with the method bBrowser:GetSelectorColorSpec(). |
Data Type: | Array |
<lFocus> | Logical value which indicates whether the background color for the focus state is to be determined. |
Data Type: | Logic |
<lSelected> | Logical value which indicates whether the background color for the selected state is to be determined. |
Data Type: | Logic |
<lDeleted> | Logical value which indicates whether the background color for the deleted state is to be determined. |
Data Type: | Logic |
<lEnabled> | Logical value which indicates whether the background color for the enabled or disabled state is to be determined. |
Data Type: | Logic |
<lEoF> | Logical value which indicates whether the background color for the end of file state is to be determined. |
Data Type: | Logic |
<lCurrent> | A logical value which indicates whether the background color for the current record is to be determined. |
Data Type: | Logic |
Return Value
oBackground | This determines the background color. |
Data Type: | Brush |
Description
bBrowser:GetSelectorStateBackground() is called internally by the draw methods of the bBrowser in order to determine the background 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:GetSelectorStateForeground()
Page url: http://www.YOURSERVER.com/index.html?bbrowser_getselectorstatebackg.htm