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

TCommonDialogAction.ExecuteTarget

Executes the action on the target control.

Declaration

Source position: stdactns.pas line 140

public procedure TCommonDialogAction.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

TCommonDialogAction.DoBeforeExecute

  

Performs the BeforeExecute notification event when assigned.

TBasicAction.ExecuteTarget


Version 4.0 Generated 2025-05-03 Home