JVCL Help:TJvTabBarItem.PopupMenu

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Identifies the pop-up menu associated with the Tab in the TabBar control.


Pascal

 propertyPopupMenu: TPopupMenu;


Description

PopupMenu is a TPopupMenu property that identifies the pop-up menu associated with the Tab in the TabBar control.
Assign a value to PopupMenu to make a pop-up menu appear when the user selects the control and clicks the right mouse button. If the TPopupMenu’s AutoPopup property is true, the pop-up menu appears automatically. If the menu’s AutoPopup property is false, display the menu with a call to its Popup method from the TabBar control’s OnContextPopup event handler.
Assigning a new value to the PopupMenu property causes the associated TabBar control to update its' Notification list to reflect the change.
Please note that there is a potential conflict in handling right mouse button events when RightClickSelect for the TabBar control contains True and property PopupMenu has been assigned for the TabBar control. In this situation, a right mouse button event occurring on the Tab cannot be properly resolved so no action is performed.


See Also

TJvTabBar, TJvTabBar.RightClickSelect


About

Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page