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.GetPopupMenuClass(TPoint) Method

Returns a reference to the class of the popup menu at the test point.

#Declaration

Delphi
function GetPopupMenuClass(const P: TPoint): TComponentClass;

#Parameters

Name Type
P TPoint

#Returns

Type
TComponentClass

#Remarks

Call this function and pass a point as the P parameter to identify which type of the popup menu is available at this point. The GetPopupMenuClass function returns nil (in Delphi) or nullptr/NULL (in C++Builder) if no popup menu is available at the specified point.

Spreadsheet controls can show two built-in popup menu types:

The worksheet context menu has three main forms:

See Also