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

TdxRibbonGalleryShowPopupMenuEvent Type

The OnShowPopupMenu event’s procedural type.

#Declaration

Delphi
TdxRibbonGalleryShowPopupMenuEvent = procedure(Sender: TObject; var APopupMenu: TdxBarCustomPopupMenu; var APopupPoint: TPoint; AHotGroupItem: TdxRibbonGalleryGroupItem) of object;

#Parameters

Name Type
Sender TObject
APopupMenu TdxBarCustomPopupMenu
APopupPoint TPoint
AHotGroupItem TdxRibbonGalleryGroupItem

#Remarks

This event occurs prior to a ribbon gallery or its group displaying popup menu.

The table below lists parameters that specify:

Parameter Name Description
Sender The ribbon gallery that raised the event.
APopupMenu A popup menu that a gallery displays after a right click. The parameter can accept the GalleryOptions.PopupMenu property value or nil if you right-click a gallery’s item or an empty area in the gallery, respectively.
APopupPoint Popup menu coordinates in the monitor’s area. This optional parameter accepts the mouse cursor coordinates when you right-click a gallery’s area.
AHotGroupItem A gallery’s item that you right-click.
See Also