On opening a window, I need to disable a menu item on certain condition. Can anyone please tell me how this can be done as there is no protect attribute available on the menu item as on the other columns of the DW.
Argument Description
menuname The name of the menu selection you want to deactivate (disable)
Return value
Integer. Returns 1 if it succeeds and -1 if an error occurs. If menuname is null, Disable returns null.
Equivalent syntax Setting the menu's Enabled property is the same as calling Disable.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.