MSM-Workstation
Macros

Go back to the alphabetic list of macros
Go back to the first page of this tutorial

%%Yellow

A small number of colors is made available through macros.

The colors are:

%%Black0, 0, 0
%%Blue0, 0, 65535
%%Cyan0, 65535, 65535
%%DarkGray32768, 32768, 32768
%%Gray49152, 49152, 49152
%%Green0, 65535, 0
%%Magenta65535, 0, 65535
%%Red65535, 0, 0
%%White65535, 65535, 65535
%%Yellow65535, 65535, 0

Examples

%%Set(%%CurrWin.BackColor,%%Yellow)
Define the background color for the components in the current window to be yellow. (By default, components inherit their background color from the window; when a component defines its own settings, this definition will not affect the component in question.)

%%Set(%%CurrWin.ForeColor,%%Yellow)
Define the foreground color (color of texts) for all components in the current window to be yellow. (By default, components inherit their foreground color from the window; when a component defines its own settings, this definition will not affect the component in question.)

%%Set(%%CurrWin.AreaColor,%%Yellow)
Define the background color of the area in the current window that is reserved for displaying any Multiple Document Interface (MDI) child windows to be yellow.

%%Set(%%CurrWin.Color,%%Yellow)
Define the background color of the current window to be yellow.

%%Set(%%CurrCtl.BackColor,%%Yellow)
Define the background color for value of the current component to be yellow.

%%Set(%%CurrCtl.ForeColor,%%Yellow)
Define the foreground color (color of texts) for the value of the current component to be yellow.

%%Set(%%CurrCtl.TBackColor,%%Yellow)
Define the background color for the label (title) of the the current component to be yellow.

%%Set(%%CurrCtl.TForeColor,%%Yellow)
Define the foreground color (color of texts) for the label (title) of current component to be yellow.

See also

%%Black, %%Blue, %%Cyan, %%DarkGray, %%Gray, %%Green, %%Magenta, %%Red and %%White.