List Box F Directive

Syntax

%F= Format_Name %

Arguments

Format_Name

Character. The name of a character variable containing an owner draw format string to be applied when the list box is loaded.

Description

The F directive references the name of a character variable containing an owner draw format string to be applied when the list box is loaded. It is used when creating resizable column list boxes.

Example 

Create the format string.

orig_fmt = "{F=Arial,8}{C=Dark Blue}{B=Blue White}{A=1C}First{T=1.5:0-20}{A=2C}Second{T=3.5:0-20}{A=3C}Third{A=}"

Load the list box.

[%O={@@};F=orig_fmt;R;B=T%.100,7item^#data]

For the complete example of the use of the F directive, see List Box R Directive.

See Also