Sign in Join
FPDoc Onlineexperiment

TEditAction.HandlesTarget function

Member of TEditActionpublicIn unit StdActns

Indicates if the editing action can be used for the specified target control.

Declaration

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

Arguments

Target

Object instance with the target control for the action.

Function result

True when the action can be applied to the target.

Description

HandlesTarget is a Boolean function which indicates if the editing action can be applied to the object in Target. The return value is True when:

  • Target has been assigned.
  • Control and Target are the same object instance, or...
  • Control is unassigned, and Target is a TCustomEdit descendant.

See also

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