Window coloursΒΆ

bgc = rgb_value
fgc = rgb_value

These define the background and foreground colours for the window itself, and the default background and foreground colours for OLE controls.

data_bgc = rgb_value
data_fgc = rgb_value

The default background and foreground colours for data in listboxes, textboxes and tables in this window. The defaults may be overwritten at group level for grouped textboxes, and at individual control level for any control.

label_bgc = rgb_value
label_fgc = rgb_value

The default background and foreground colours for labels in this window. This includes table column headings. The defaults may be overwritten at group level for grouped textboxes and buttons, and at individual control level for any control.

caption_bgc = rgb_value
caption_fgc = rgb_value

The default background and foreground colours for captions in this window. These colours can be overwritten at window control level by means of the caption_pen clause. See Captions.

transparent = rgb_value

Default transparent colour. This is the colour that is to be made transparent in graphics or image buttons, allowing the background to show through. The default may be overwritten at group level for grouped buttons, and at individual control level for any button or graphic.

If an window transparent colour is defined (and is active), it is possible to display animated graphics with a transparent background.

The default values are taken from the current Windows palette. See Default palette.


RELATED TOPICS

Windows

Colours

Palettes