<<

Contents

Search

>>

 

SET_COLORS

 

 

Instruction

 

 

Syntax:

SET_COLORS(<Colors>)

 

<Colors> = <STRING-EXPRESSION>

 

Meaning:

Sets all colors.

 

<Colors> must contain the following colors:

 

PUSHBUTTON_TEXTCOLOR

PUSHBUTTON_BACKGROUNDCOLOR

CHECKBOX_TEXTCOLOR

RADIOBUTTON_TEXTCOLOR

MARK_BACKGROUNDCOLOR

HILITE_BACKGROUNDCOLOR

MAIN_BACKGROUNDCOLOR

WINDOW_BACKGROUNDCOLOR

PRINT_TEXTCOLOR

STATUSLINE_TEXTCOLOR

FIELD_TEXTCOLOR

FIELD_BACKGROUNDCOLOR

SELECT_BACKGROUNDCOLOR

PRINT_TEXTCOLOR

PRINT_BACKGROUNDCOLOR

COMBOBOX_TEXTCOLOR

LISTBOX_TEXTCOLOR

DISABLED_TEXTCOLOR

DISABLED_BACKGROUNDCOLOR

TEXT_TEXTCOLOR

TABCONTROL_BACKGROUNDCOLOR

TABCONTROL_TAB_BACKGROUNDCOLOR

TABCONTROL_TAB_TEXTCOLOR

TABCONTROL_TAB_SELECTED_BACKGROUNDCOLOR

SPLIT_HEADER_TEXTCOLOR

SPLIT_HEADER_BACKGROUNDCOLOR

TREEVIEW_TEXTCOLOR

BMP_TRANSPARENTCOLOR

IMAGE_TRANSPARENTCOLOR

MAIN_BACKGROUNDGRADIENT

WINDOW_BACKGROUNDGRADIENT

BUTTON_BACKGROUNDGRADIENT

SPLIT_HEADER_BACKGROUNDGRADIENT

 

Each color entry in <Colors> must have the following structure:

<Red>,<Green>,<Blue>.

 

Each color gradient entry in <Colors> must have the following structure:

<Red1>,<Green1>,<Blue1>,<Red2>,<Green2>,<Blue2>,<Direction>.

 

If <Colors> contains the empty String "", all colors are reset, i.e. the standard colors apply.

 

If an entry in <Colors> contains the empty String "" or <Red>, <Green> or <Blue> < 0, the color is reset, i.e. the standard color applies.

 

Parameter:

Colors

Contains all colors separated by ';'.

 

Sample:

COLORS$ = GET_COLORS$

...

SET_COLORS("") // reset all colors

...

SET_COLORS(COLORS$) // restore colors

 

See also:

GET_COLORS$

GET_SWITCHES$

SET_SWITCHES

GET_MACROS$

PUT_MACROS