Execute Method

Object List Next Object

Defined By:
FontDialog

Description:

Displays the FontDialog modally.

Declaration:

Function Execute() As Integer

Details:

Invoking the Execute Method displays the common font dialog modally. The Execute method does not return until either the user selects a font or dismisses the panel. Execute
s return value is IDOK if the user selects a font, in which case the properties Bold, Italic, Underline, Strikethru, FaceName, Color, and Size will be set to reflect the user's choices. In addition, if the Font property is set, the Phoenix font it references will have all of its properties reconfigured to reflect the user's choice. If the user dismisses the panel, Execute returns IDCANCEL.