TdxRibbonGalleryShowPopupMenuEvent Type
The OnShowPopupMenu event’s procedural type.
Declaration
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