Static Text O Directive {F} Operator
Syntax
{F= Fontname, Pointsize [, Style ] }
Arguments
- Fontname
Character. The name of an installed font.
- Pointsize
Numeric. An integer representing the point size.
- Style
Character. Optional. The style representation. Default = "" (normal). The attributes may be combined, as in "BI" = bold italic
Description
The {F} operator is used in the static text owner draw string to specify font, point size, and style.
Example
flag = .t.
ui_dlg_box("Colored Text",<<%dlg%
Below is an example of 'owner draw' static text;
{lf};
{'%O={F=Arial,18,B}{B=Blue White,Yellow,Win3D}{C=Dark Blue}{I:'a5_attachments32'} Alpha Anywhere Can Do Colored Static Text%?flag};
{lf};
{lf};
This is an Example of how static text can be enabled and disabled:;
{lf};
{'Check or clear the box to enable or disable me?flag};
(flag) Enable/Disable text;
%dlg%)See Also
