Skip to main content

TdxSpreadSheetCustomHitTest Class

The base class for HitTest classes that store information about the Spreadsheet and Report Designer control’s visual elements located at the test point.

Declaration

TdxSpreadSheetCustomHitTest = class(
    TObject
)

Remarks

This class implements an API for obtaining the common HitTest information at the test point within the control’s boundaries. The TdxSpreadSheetCustomHitTest class extends its ancestor with members that allow you to:

  • Identify the mouse pointer’s coordinates within the control’s area (HitPoint).
  • Access the ViewInfo information on the control’s visual element located at the test point (HitObject).
  • Clear the stored HitTest information (Clear).
  • Calculate the HitTest information for a specific point within the control (Calculate).
  • Refresh the HitTest information for the current mouse pointer position (Recalculate).
  • Identify which popup menu you can invoke at a specific point within the control (GetPopupMenuClass).

The worksheet‘s HitTest property references a TdxSpreadSheetCustomHitTest object.

Inheritance

TObject
TdxSpreadSheetCustomHitTest
See Also