Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Menus
Message
From
02/03/1999 11:52:30
 
 
To
02/03/1999 11:45:36
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Re: Menus
Miscellaneous
Thread ID:
00193194
Message ID:
00193203
Views:
14
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
Previous
Reply
Map
View

Click here to load this message in the networking platform