Classes.TBasicAction.HandlesTarget

From RAD Studio VCL Reference
Jump to: navigation, search

Contents

Delphi Information

From Classes.pas

	function HandlesTarget(Target: TObject): Boolean; virtual;


Unit: Classes

Type: method

Visibility: public

Member Of: TBasicAction

C++ Information

From Classes.hpp

	virtual bool __fastcall HandlesTarget(System::TObject * Target);


Unit: Classes

Type: method

Visibility: public

Member Of: TBasicAction

Description

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. 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.

See Also

Personal tools
Translations
Newest Version