Skip to main content

TdxSpreadSheetCustomHitTest.GetPopupMenuClass(TPoint) Method

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

Declaration

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