Sign in Join
FPDoc Onlineexperiment

TFileExit.HandlesTarget function

Member of TFileExitpublicIn unit StdActns

Determines whether Target can be handled by this action.

Declaration

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

Description

HandlesTarget returns True if Target is a valid client for this action and if so, if it is in a suitable state to execute the action. An application programmer should never need to call HandlesTarget directly, it will be called by the action itself when needed.

In TBasicAction this method is empty; descendant classes should override this method to implement appropriate checks.

This description is the one of Classes.TBasicAction.HandlesTarget.

See also

  • UpdateTarget
  • ExecuteTarget

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.