Skip to main content

TdxSpreadSheetAction.HandlesTarget(TObject) Method

Returns a value indicating whether the action object‘s execution result is applied to the specified Spreadsheet or Report Designer control instance.

Declaration

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

Parameters

Name Type
Target TObject

Returns

Type
Boolean

Remarks

This function returns True if at least one of the following conditions is met:

  • A Spreadsheet or Report Designer control instance specified as the Target parameter matches the Control property value;

  • A Spreadsheet or Report Designer control instance specified as the Target parameter is focused or the action does not require focus.

Otherwise, the HandlesTarget function returns False.

See Also