<<

Contents

Search

>>

 

EBUS_SELECT_COLOR$

 

 

Variable

 

 

Meaning:

Colors in SELECT.

 

With this variable rows and separate fields of a row can be displayed in color in ON SELECT MACRO with  SELECT.

 

A string must be assigned to EBUS_SELECT_COLOR, which contains the color of each field separated by semi-colons. For each color <foreground color, background color> must be specified in angled brackets. As fore- and background color the number of an RGB color or a negative number must be specified. With a negative number the color in question will not be set, but the standard foreground/ background color will apply.

 

Note: The first color does not only apply to the first field, but to the whole row! For each field of the row, which is to be displayed normal or in a different color, an individual color code must be specified. The field will be shown normal (without color) if the color is specified as <-1,-1> .

 

Before the ON SELECT macro is called EBUS_SELECT_COLOR$ is set to "" .

 

Changeable:

Yes

 

Sample:

RGB(1) = 255,0,0 /* red

RGB(2) = 0,0,255 /* blue

<1,2> specifies foreground red and background blue

<1,-1> specifies foreground red and standard background

<-1,1> specifies background red and standard foreground

 

EBUS_SELECT_COLOR$ = ";<1,2>;;<1,-1>"

/* The 2. field is red on blue, the 4. field has foreground red

 

EBUS_SELECT_COLOR$ = "<1,2>;;<-1,-1>"

/* The 3. field has standard colors, all other fields are red on blue

 

See also:

SELECT

ON SELECT MACRO