Back to Devexpress

TdxRibbonGalleryShowPopupMenuEvent Type

vcl-dxribbongallery-337ff00c.md

latest1.8 KB
Original Source

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

NameType
SenderTObject
APopupMenuTdxBarCustomPopupMenu
APopupPointTPoint
AHotGroupItemTdxRibbonGalleryGroupItem

Remarks

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

The table below lists parameters that specify:

Parameter NameDescription
SenderThe ribbon gallery that raised the event.
APopupMenuA 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.
APopupPointPopup menu coordinates in the monitor’s area. This optional parameter accepts the mouse cursor coordinates when you right-click a gallery’s area.
AHotGroupItemA gallery’s item that you right-click.

See Also

TdxRibbonGalleryBaseOptions.PopupMenu

dxRibbonGallery Unit