Sign in Join
FPDoc Onlineexperiment

TFontDialog.OnApplyClicked property

Member of TFontDialogpublishedIn unit Dialogs

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

Declaration

pascal
property 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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.