Skip to content

FontDialog - FontDialog

Starts the common Windows font dialog

Type: Function
Return Data Type: Integer

Syntax

Function FontDialog Returns Integer

Call Example

Get FontDialog to IntegerVariable

Description

FontDialog starts the common Windows font dialog. The dialog will appear as specified in the appearance properties. After the dialog been accepted by the user, the user selection can be queried by getting the appropriate properties.

Return Value

The function returns 0 (zero) if the user canceled the font dialog. A non-zero value is returned when a selection has been made by the user.