How to get the active sheet menu in PowerBuilder. If I disable menu, it disables the last open sheet menu rather than the active sheet menu?
Waseem Kiyani answered this Dec 4 '12 at 14:28
Actually I was not getting menu ID. Rather, I was disabled the menu directly
m_sheet.file.enabled = false
Thanks to Maximus, I disabled the menu item by using the menu Id.
Example:
m_sheet lm_setupMenu
lm_setupMenu = This.menuID
lm_setupMenu.m_new.enabled = False
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With