Could someone give me the low-down on the proper way to call and release a menu item from a form? Each form I have calls a specific menu item. When the form looses focus or is destroyed that menu item is released. First, I had the following code in my gotfocus, lostfocus, and destroy:
GotFocus:
push menu _msysmenu
do menus\offers.mpr
LostFocus & Destroy:
pop menu _msysmenu
With this, however, I encountered odd errors every now and then. So, I have changed my LostFocus & Destroy code to this:
deactivate menu offers
release menu offers extended
pop menu _msysmenu
Thus far, I haven't had problems with it, but if there is a better or more appropriate way to do this I'd like to hear about it.
Michael G. Emmons