Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Menus and modal forms
Message
 
To
29/05/1997 15:52:55
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Miscellaneous
Thread ID:
00034148
Message ID:
00034177
Views:
41
>>>>I have a modal form on a modal formset. From the load of the form I say DO MyMenu.mpr. The menu comes up but all the options are disabled. If I change the formset to Modeless the menu works, but I need it to be modal. How can I get the menu to work?
>>>>
>>>>Thanks
>>>>Elyse
>>>
>>>This is generic feature to disable menus when modal form comes up. You better live with this feature, the only way to go around is to bring up some artificial menus inside modal form (using old bunch of DEFINE/ACTIVATE POPUP commands).
>>
>>Can toolbars be used from within a modal form?
>
>Yes, it's possible solution.

Recently I used one trick. Instead of running modal form, I added to the form the transparent container object of the same size, which looks like a form (the biggest visible control in it is smaller than the form, so the form is visible through transparent part of the container. Menu choices, which can run other forms, or something not allowed, are disabled by SKIP FOR statements in the menu. So, user cannot click on something not allowed for this mode, and the menu is fully operational. And it looks exactly like you run modal form of smaller size on top of another.

HTH,

Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform