- Timothy Beck
- PowerBuilder
- Tuesday, 24 August 2021 04:40 PM UTC
I have created a RibbonBar that contains a LargeButton with a menu in PowerBuilder 2019 R3 Build 2670. The contents of the menu are dynamically populated at runtime. When running the application, clicking on the LargeButton opens the menu. However it never seems to close after that. I did notice that clicking the LargeButton again makes the menu items no longer selectable.
Any thoughts as to why this is happening and how to get the menu to close again?
Here's the XML:
<LargeButton Text="History" Tag="History" PowerTipText="Recently opened items" PictureName="HistoryBig!" Enabled="false" Visible="true" Clicked="rbe_HistoryClicked" Selected="rbe_HistorySelected">
<Menu>
<Item Text="1" Tag="Item1" Visible="false" Clicked="rbe_Item1Clicked"></Item>
<Item Text="2" Tag="Item2" Visible="false" Clicked="rbe_Item2Clicked"></Item>
<Item Text="3" Tag="Item3" Visible="false" Clicked="rbe_Item3Clicked"></Item>
<Item Text="4" Tag="Item4" Visible="false" Clicked="rbe_Item4Clicked"></Item>
<Item Text="5" Tag="Item5" Visible="false" Clicked="rbe_Item5Clicked"></Item>
</Menu>
</LargeButton>
Thanks!
Tim
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.