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

TdxBarPopupMenu Class

A component designed to help you create popup menus from items stored in a bar manager.

#Declaration

Delphi
TdxBarPopupMenu = class(
    TdxBarCustomPopupMenu
)

#Remarks

This class does not introduce any new functionality. It simply publishes certain events and properties inherited from base classes.

Use the BarManager property to link TdxBarPopupMenu to a bar manager. A bar manager and the popup menu may belong to different forms; therefore, you may use the TdxBarPopupMenu on a form which does not include a bar manager.

If you dynamically populate TdxBarPopupMenu with bar item controls, you can provide images for this particular popup menu via its Images property and make its item controls reference these images via a corresponding item link‘s ImageIndex property.

If you need to close popup menus programmatically, obtain the currently active popup menu via the ActiveBarControl function call and then call the obtained control’s HideAll method.

See Also