Introduces an interface for verifying that the type, and state, of a target component or control are appropriate for the action.
function HandlesTarget(Target: TObject): Boolean; virtual;
virtual __fastcall Boolean HandlesTarget(TObject * Target);
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. Handles target 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.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!