Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

Delphi
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