Usage:
select_font(Window, Font, Colour, FaceName, Height)
Font is select_font(Window, Colour, FaceName, Height)
Invokes a standard font dialog box. You can use Font and Colour
for its initialisation. Font and Colour also will receive
the value of your selection. The name of the font and its size will be
returned in the arguments FaceName and Height. Note that
the size which you selected in dialog box is not exactly equal to Height
but it is proportional to it.
Window | parent window, use _ for default |
Font | Variable to receive the selected font.
You can use it for initialisation of the dialog box. |
Colour | Variable to receive the selected colour.
You can use it for initialisation of the dialog box. |
FaceName | Variable to receive the name of selected font. |
Height | Variable to receive the size of selected font. |
Look at examples:
Select Font.spj