Set SKIP for oApp.disableallmenus and instanciate oApp before you start a menu. Then you may just reset this property when you want (e.g. when you start any form):
IF _screen.formcount > 1 AND _screen.activeform.windowtype = 1
oApp.disableallmenus=.f.
ELSE
oApp.disableallmenus=.t.
ENDIF
>Ed,
>
>In the skip for the the menu I have (_screen.formcount > 1 AND _screen.activeform.windowtype = 1). The problem is that when the program starts up I get an activeform is not an object error message.
>
>Any ideas?
>
>Jim
>
>>>Is there a way to disable all options on a menu that I created?
>>>
>>>Jim
>>
>>Yes, in menu designer you may set 'Option/Skip For' some variable/property and then resetting this property to .F. you will disable menu options.
Edward Pikman
Independent Consultant