Skip to main content

TdxSpreadSheetAction.HandlesTarget(TObject) Method

Identifies if the action object can execute the corresponding command for the specified Spreadsheet control.

Declaration

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

Parameters

Name Type Description
Target TObject

The target control for the action object.

Pass a TdxSpreadSheet or TdxSpreadSheetReportDesigner class instance as this parameter.

Returns

Type Description
Boolean

This function returns:

True
If the Target parameter and Control property values match; and the target control has focus.
False
If the Target control is not associated with the action object or the target control has no focus.
See Also