[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Dialogs' (#lcl)

TFontDialog.OnApplyClicked

Event handler signalled when the Apply button is clicked in the font dialogs.

Declaration

Source position: dialogs.pp line 439

published property TFontDialog.OnApplyClicked : TNotifyEvent
  read FOnApplyClicked
  write FOnApplyClicked;

Description

OnApplyClicked is a TNotifyEvent property with the event handler signalled when the Apply button is clicked in the font dialog. The Apply button must be enabled in the Options property to receive the event notification.

OnApplyClicked allows the application to perform actions needed when a Font has been applied. This can include assigning the value in Font to another control. Similar actions need to be performed when the Execute method returns True, indicating that the OK button was clicked.

OnApplyClicked is signalled from the ApplyClicked method, and triggered directly from methods in widgetset classes.

See also

TFontDialog.ApplyClicked

  

Performs actions needed when a font is selected using the dialog.

TFontDialog.Options

  

A set of TFontDialogOption options enabled for the dialog.

TFontDialog.Font

  

Contains the Font selected in the dialog.

TCommonDialog.Execute

  

Displays the dialog and captures the result.

TFontDialogOption

  

An enumerated list of constants to set the options of a Font dialog.

TFontDialogOptions

  

Set type used to store font dialog options.


Version 4.0 Generated 2025-05-03 Home