Button O Directive {F} Operator

Syntax

{F = Fontname [, Size [, Flags ]] }

Arguments

Fontname

Character. The name of the font (e.g. Arial). Not quoted.

Size

Numeric. Optional. Point size.

Flags

Character. Optional. Indicates style. Not quoted.

Description

The {F} operator is used in a button's owner draw (O) directive and its {@@} operator to specify font and style. If used, the {F} operator must come first after the owner draw directive.

 Example

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

Refer to Button O Directive {@@} Operator.

See Also