Version 6.3.8 for Windows
 —  Dialog Component Reference  —

BACKGROUND-COLOUR-NAME

Provides a choice of existing background colors.

When setting background colors, you have four possibilities:

Note:
Under Windows, a push button control's background color will be displayed as the system default at runtime, regardless of the BACKGROUND-COLOUR-NAME value.

Applies to Canvas control, control box control, dialog (all types), date/time picker control, dialog bar control, edit area control, group frame control, image control, input field control, list box control, list view control, OLE container control, progress bar control, push button control, radio button control, rectangle control, scroll bar control, selection box control, signal, tab control, table control, text constant control, toggle button control, tree view control, wallpaper control.
Data Type I4
Default Value DEFAULT (0)
Possible Values See table below.

Possible Values

DEFAULT (0) WHITE (1) BLACK (2)
LTGRAY (3) GRAY (4) DKGRAY (5)
RED (6) GREEN (7) BLUE (8)
CYAN (9) MAGENTA (10) BROWN (11)
YELLOW (12) LIGHTRED (13) LIGHTGREEN (14)
LIGHTBLUE (15) LIGHTCYAN (16) LIGHTMAGENTA (17)
BRIGHTWHITE (18) CUSTOM (50)  

Note:
The text representation can be substituted for the integer representation because the local data area NGULKEY1 (supplied in library SYSTEM) is automatically included in the event handler code.

Top of page