Vcl.ExtActns.TCustomFileRun.HandlesTarget
Delphi
function HandlesTarget(Target: TObject): Boolean; override;
C++
virtual bool __fastcall HandlesTarget(System::TObject* Target);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Vcl.ExtActns.pas Vcl.ExtActns.hpp |
Vcl.ExtActns | TCustomFileRun |
Description
Indicates whether the action can execute.
Do not call the HandlesTarget method. This method is called automatically when the user invokes an object (such as a tool button or menu item) that is linked to this action. The HandlesTarget method lets the action object indicate whether it is appropriate to execute at this time with the object specified by the Target parameter as a "target".
HandlesTarget always returns true, because TCustomFileRun does not use the target object.