Does anyone have any thoughts on the proper way to call and release a menu item from a form? Currently, I'm doing:
push _msysmenu
do menus\mymenu.mpr
on the init of the form and:
pop _msysmenu
on the destroy of the form. Is there anything wrong with this? Also, I was playing with the SKIP clause for the menu item in the menu designer. What could I place there to disable (grey out) the menu item when the form is open, but no longer has focus? I tried using:
"_screen.activeform.name<>'myformname'"
but, this gives an error on form init because there is no current activeform as of yet. How would this be resolved?
I think I posted something similar to this earlier, but I'm not positive so if I am, just kick me.