Purpose
Determined to a column value the foreground and background color.
Class
Type
Method
Syntax
<oDataColumn>:GetColorSpec() Æ aoColorSpec
Return Value
aoColorSpec | An array with the determined 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
bDataColumn:GetColorSpec() evaluates all defined color conditions to the current column value. On the color condition that results the value TRUE as the first the foreground and background color are returned.
If no color condition were found to the record or on the determined color condition no foreground or background color is defined, the foreground or background color respectively from the bBrowserColumn:DataView object is returned.
See Also
Page url: http://www.YOURSERVER.com/index.html?bdatacolumn_getcolorspec.htm