Sign in Join
FPDoc Onlineexperiment

TCommonDialogAction.ExecuteTarget procedure

Member of TCommonDialogActionpublicIn unit StdActns

Executes the action on the target control.

Declaration

pascal
procedure ExecuteTarget(Target: TObject); override

Arguments

Target

Not used in TCommonDialogAction.

Description

ExecuteTarget is an overridden method in TCommonDialogAction. It implements the empty method introduced in the ancestor class.

ExecuteTarget signals the BeforeExecute event handler (when assigned), and captures the result from the Execute method in the TCommonDialog instance for the action. If the result is True, the DoAccept method is called to signal the OnAccept event handler. Otherwise, the DoCancel method is called to signal the OnCancel event handler.

See also

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