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
Hi Timothy,
Thanks for providing the test case.
I can reproduce it on our side. We will escalate this problem to our development team for further analysis.
We will need some to figure it out and will get back to you if any progress we would make.
In order to better track and handle this issue, kindly please report this PB issue via our support ticketing system: https://www.appeon.com/standardsupport/newbug
Thanks in advance.
Bug 7198 - RibbonBar Large Button Menu does not refresh has been created.
Tim
Appreciate your patience and understanding.