Purpose
Returns the foreground and background color for the selector cell of the current record.
Class
Type
Method
Syntax
<oBrowser>:GetSelectorColorSpec() Æ aoColorSpec
Return Value
aoColorSpec | An array with all derived foreground and background colors for normal and selected display. The array consists of 6 elements. The individual elements can be accessed by predefined constants (see table). |
Constant |
Contents |
Data type |
BCS_FOREGROUND |
Foreground color |
Color |
BCS_BACKGROUND |
Background color |
Brush |
BCS_SELECTEDFOREGROUND |
Foreground color for selected cells and rows |
Color |
BCS_SELECTEDBACKGROUND |
Background color for selected cells and rows |
Brush |
BCS_INACTIVESELECTEDFOREGROUND |
Foreground color for inactive selected cells and rows. |
Color |
BCS_INACTIVESELECTEDBACKGROUND |
Background color for inactive selected cells and rows. |
Brush |
Data type: | Array |
Description
bBrowser:GetSelectorColorSpec() evaluates all defined selector color conditions for the current record. The first condition to return a result of TRUE determines which foreground and background color are returned.
If no color conditions were found for the record or if none of the determined color conditions yield TRUE as a result, for the missing color the value NULL_OBJECT is returned.
See Also
bBrowser:SelectorColorCondition
Page url: http://www.YOURSERVER.com/index.html?bbrowser_getselectorcolorspec.htm