Sign in Join
FPDoc Onlineexperiment

TCommonDialogAction.Handlestarget function

Member of TCommonDialogActionpublicIn unit StdActns

Indicates whether the action is supported for the specified target.

Declaration

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

Arguments

Target

Not used in TCommonDialogAction. A descendent class must implement GetDialogClass to determine the target.

Function result

False if a dialog instance has not been assigned for the action.

Description

Since a class type is not available from GetDialogClass, the return value is always False in TCommonDialogAction. In a descendent class, the return value is True if the internal TCommonDialog instance for the action has been assigned.

See also

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