API:Vcl.StdActns.TWindowAction.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.StdActns.pas Vcl.StdActns.hpp |
Vcl.StdActns | TWindowAction |
Description
Introduces an interface for verifying that the type and state of a target component or control are appropriate for the action.
Vcl.StdActns.TWindowAction.HandlesTarget inherits from System.Classes.TBasicAction.HandlesTarget. All content below this line refers to System.Classes.TBasicAction.HandlesTarget.
Introduces an interface for verifying that the type and state of a target component or control are appropriate for the action.
HandlesTarget does nothing in TBasicAction. HandlesTarget was introduced in TBasicAction so that descendants can override it to check the type and state of a target. HandlesTarget can verify any information about a target that is relevant for the action. HandlesTarget returns True if the target meets the specified criteria, False otherwise.