-
Shilpa Kondareddy
- PowerBuilder
- Wednesday, 23 July 2025 12:06 PM UTC
Hi,
The input value for applicationmenu is wrong
Steps to reproduce
I have a RibbonBar Applicationbutton as mentioned below
<ApplicationButton Text="File" Enabled="true" Tag="File" Visible="true">
<ApplicationMenu>
<Master>
<Item Text="Item1" Checked="false" Clicked="ue_appmenu" Enabled="true" Shortcut="" Tag="Item1" Type="0" Visible="true" />
<Item Text="Item2" Checked="false" Clicked="ue_appmenu" Enabled="true" Shortcut="" Tag="Item2" Type="0" Visible="true" />
<Item Text="Item3" Checked="false" Clicked="ue_appmenu" Enabled="true" Shortcut="" Tag="Item3" Type="0" Visible="true" />
<Item Text="Item4" Checked="false" Clicked="ue_appmenu" Enabled="true" Shortcut="" Tag="Item4" Type="0" Visible="true" />
</Master>
</ApplicationMenu>
</ApplicationButton>
The ue_appmenu is defined as event type long ue_appmenu ( long handle, long index, long subindex )
Whenever I clicked Item4 in the application menu Item3.visible is set to false
Now after Item3 is not visible if I click Item1 then the index from the ue_appmenu event is wrong(It will be random index value like 3,2,4)
Error
This is causing error in fetching correct applicationmenu item
Is there any way that we can solve this issue?
Thanks,
Shilpa
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.