General information
Category:
Menus & Menu designer
>I have a modal form on a modal formset. ... How can I get the menu to work?
This problem has confused me, too. Have read the responses. Could somebody please elaborate a little more:
- Why, with a modal form, are a few menu choices still available, such as Cut/Copy/Paste in the Edit menu?
- Is there some way to extend these exceptions to non-system menu choices?
- The consensus seemed to be that there is not a "quick fix" to enable menus in VFP, as there was in 2.6, by doing the MPR during the startup of the READ command. Please confirm: Is there a quick fix that one can implement local to a form (rather than global to an application) that will enable a menu during a modal form?
FWIW, when I've really needed modal behavior on a form that for other reasons had to be non-modal, I've found that you can iterate through your _screen.forms(x) control array and set the necessary forms to disabled (and sometimes invisible) so that only one form on the screen is enabled for input. Also makes it easy to dynamically change the contents of the menu used during the pseudo-modal form.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only