Multi-line Buttons

Description

This example creates a multi-line label for a button. Note that +U and -U start and stop the underline attribute. This syntax also works with the bold (B) and italic (I) attributes. See Owner Draw O Directive Command Summary.

button1 = "{F=+U}press me{LF}{F=-U}now"
ui_dlg_box("Hello",<<%dlg%
<%O={@@}%20,5=button1>
%dlg%)

Limitations

Desktop applications only

See Also