JVCL Help:TJvCustomOutlookBar.PopUpObject
From Project JEDI Wiki
Jump to navigationJump to searchJVCL Help: TJvCustomOutlookBar.PopUpObject Property
[+] TJvCustomOutlookBar Events
[+] TJvCustomOutlookBar Methods
[+] TJvCustomOutlookBar Properties
Search in JVCL Help
Search in all projectsSummary
Indicates the component that last displayed the popup menu in response to a right mouse click.
Pascal
propertyPopUpObject: TObject;
Description
Read PopUpObject to determine which control is currently using the popup menu. Since the pages and button in the outlook bar are no real components, reading PopupMenu.PopupComponent always returns the outlook bar control. To access the real object that activated the popup menu, use PopUpObject instead.
To determine what object displayed the popup, you should check it against the three possible values: if (JvOutlookBar1.PopUpObject isTJvOutlookBar) then
HandleBarPopup
elseif (JvOutlookBar1.PopUpObject isTJvOutlookBarPage) then
HandlePagePopup
elseif (JvOutlookBar1.PopUpObject isTJvOutlookBarButton) then
HandleBarButton;
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