TdxBarPopupMenu Class
A component designed to help you create popup menus from items stored in a bar manager.
Declaration
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.