Button 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 button iis loaded.
Description
The F directive references the name of a character variable containing an owner draw format string to be applied when the button is loaded. It is used when creating resizable column list boxes.
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={@@};B=ILG;F=fmt%100=fmt!click>;
For the complete example of the use of the F directive, see List Box R Directive.
See Also