Static Text O Directive {I} Operator

Syntax

{I:' Image_Name '}

Arguments

Image_Name

Character. An image name within single quotes.

Description

The {I} operator adds an image into a static text.  When you have multiple directives in a Format string, you separate them with semi-colons ";".

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 Five 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