Skip to main content

TdxBarManager.OnShowToolbarsPopup Event

Occurs before a toolbar’s popup menu is displayed.

Declaration

property OnShowToolbarsPopup: TdxBarShowPopupEvent read; write;

Remarks

By right-clicking a toolbar an end-user can invoke a popup menu that lists all the toolbars whose Hidden property is set to False. The OnShowToolbarsPopup event is called when creating the toolbar’s popup menu after populating the popup menu’s ItemLinks collection with the item links that represent toolbars. The PopupItemLinks parameter specifies this collection.

Handle the OnShowToolbarsPopup event to perform specific actions before displaying a toolbar’s popup menu. The Sender parameter specifies the current bar manager.

This event is fired by the DoShowToolbarsPopup method.

See Also