I would like to know if there is a way to enable/ disable a menu item- example below at 3.4.4 release level. I did notice a members
question from several years back but I don't understand if or how it was resolved.
If you want the MenuIems to be allowed only if a condition exists - for example if the 1st item is complete then allow the 2nd item
but not before, then can you disable (grey out) until your code enables the menu items?
At this time I can create logical variable and place if - then - else statements in the Action codeblocks but this looks amateurish to me. The user does not see if the menuitem is allowed ahead of time
DEFINE MAIN MENU
DEFINE POPUP 'File'
MENUITEM 'Quit 1' ACTION Win_1.Release
MENUITEM 'Reset ' ACTION ImageReset()
END POPUP
DEFINE POPUP 'Procedures'
MENUITEM 'Select Images (<=25)' ACTION SelectImages()
MENUITEM 'Display Images' ACTION BuildScreenComp()
MENUITEM 'Build The Image Composite)' ACTION BuildOutputComposite()
MENUITEM 'Save The Composite to Disk' ACTION SaveComposite()
END POPUP
END MENU