Resolved Changemenu
- How-to
- Gimmy Susan
- PowerBuilder
- Tuesday, 16 March 2021 11:22 AM UTC
Good morning Guru
I need to change the window menu, but something is not working for me.
Let's go in order.
I have a window with a menu I don't know the name of.
When certain conditions occur, I have to change the menu.
In the end I have to restore the original menu (whose name I didn't know)
I tried in the following way, but as you can see from the image as soon as I change the menu with changemenu the saving made goes to null.
=======================================
menu m_temp
m_temp = create menu
m_temp = parent.menuid
parent.changemenu(m_genapp_sheet2)
// code here
parent.changemenu(m_temp)
=======================================
Some idea?
Thanks in advance.
Gimmy
Ecosystem:
Window10 + pb2019r3
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.