@FONTDLG

Top  Previous  Next

Syntax:

 

@FONTDLG(<default font>, <default size>, <default attributes>, <default color>)

 

Description:

 

This function displays a Windows font dialog, and returns a string representing the font that was selected. A null string is returned if no font was selected.

The string <default font> contains an optional font which will be used as default selected font.

The string <default size> specifies an optional size which will be used as default selected size.

The string <default attributes> specifies optional attributes which will be used as default selected attributes. The attributes can be: B (bold) I (italic) U (underlined) S (strike-thru).

The string <default color> specifies optional color which will be used as default selected color.

OK:

 

True if dialog was closed with the OK button, otherwise false.

 

Example:

 

%F = @fontdlg(arial,12,BU,red)

 

See also:

 


OPTION FONTDLG