Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disable meny in top level form
Message
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Miscellaneous
Thread ID:
00287330
Message ID:
00287415
Views:
21
>I am trying to find a way to disable a menu in a top level form. I have 'do menuname with thisform, .t.' in either the init or gotfocus method, which starts the menu properly, but I cannot use set 'skip of menu menuname' to disable it. I get messages like 'menu not created with define menu'. The menu name is never activated this way.
>
>Whenever I have a modal child form and touch the menu of the calling form, it 'hangs' because I cannot disable the menu...
>
>Any help is appreciated ASAP as I am in the middle of a project with an aggresive deadline...

This isn't normal behavior...from a modal in a TL, the usual behavior is:

1) vfp5: all is disabled
2) vfp6: the menu titles are enabled, and they will drop down, but all the bars are disabled. I think this is rather nice behavior, actually....

Also, I would put the DO menu in the TL Activate, it seems to be a safer place to do it...

If you try this and there's still a problem, something isn't right...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Previous
Reply
Map
View

Click here to load this message in the networking platform