FontDialog
Displays a font selection dialog, in which the user can choose a font.
Syntax
-
FontDialog([fnt])-
fntis a structure
-
Description
FontDialog() displays a font dialog and returns a structure with the chosen font parameters if the user does not cancel the dialog. If the user cancels the dialog, an error is raised, which can optionally be handled by the try or the succeeded function.
FindDialog(fnt) uses fnt as the default font parameters.
Examples
FontDialog()
name: Lucida Calligraphy size: 20 color: rgba(0.000, 0.000, 0.000, 1.000) bold: false italic: false underline: false strikethrough: false