>I want to disable some items of my main menu when call some forms And recover these items when exit the certain forms.How to do it?
The code to handle that might be in the Activate() and QueryUnLoad() event.
In those events, you can have some properties turning .T. or .F. and having you item in the menu SKIP FOR those properties.