FMX.StdActns.TFileExit.HandlesTarget

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

C++

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

Properties

Type Visibility Source Unit Parent
function public
FMX.StdActns.pas
FMX.StdActns.hpp
FMX.StdActns TFileExit

Description

Introduces an interface for verifying that the type and state of a target component or control are appropriate for the action.

FMX.StdActns.TFileExit.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.

See Also