Navigation:  Classes >

bColorCondition

Print this Topic    Previous pageReturn to chapter overviewNext page

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

Eval()

Init()

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

bBrowser:ColorCondition

bColorConditionList

bDataColumn:ColorCondition

 


Page url: http://www.YOURSERVER.com/index.html?bcolorcondition.htm