Purpose
Defines a color condition, consisting of a condition and one or more foreground and background colors.
Class
bColorCondition
Properties
Background | (Access / Assign) |
Foreground | (Access / Assign) |
InactiveSelectedBackground | (Access / Assign) |
InactiveSelectedForeground | (Access / Assign) |
SelectedBackground | (Access / Assign) |
SelectedForeground | (Access / Assign) |
Methods
Inherits From
<No ancestor>
Inherited By
<No descendants>
Description
Individual rows, columns or also values in cells can be displayed with color conditions in different foreground and/or background colors.
The color conditions are supported both in the class bBrowser and in the class bDataColumn.
Samples
The following sample defines a color condition for the foreground color red, for each second record:
odbsCUSTOMER := DBServer{"CUSTOMER"}
oColorCondition := bColorCondition{"Server:RecNo%2=0",;
odbsCUSTOMER,;
Color{COLORRED}}
oColorCondition:SelectedForeground := oColorCondition:Foreground
See Also
Page url: http://www.YOURSERVER.com/index.html?bcolorcondition.htm