STYLE dialog element |
|
| Top Previous Next | |
Syntax:
DIALOG ADD,STYLE,<name>,<font name>,<font size>,<font attributes>,<background color>,<foreground color>
Description:
The STYLE dialog element defines the font name, font size, font attributes and colors which are associated with a style name. This style can then be applied to a dialog element by including this style name in its style list.
The <font name> may be the name of any font installed on the system, as determined using LIST FONTLIST. Only the fonts installed as part of Windows may be assumed to be present on the system.
The <font size> is the numerical size of the font, in points.
The <font attributes> can be: B (bold) I (italic) U (underlined) or S (strike-thru).
Note: Styles can be used to change the colors of dialog elements that don't display any text. Some dialog elements do not allow their colors to be changed.
See also: