>I'm adding menus to applications rewritten from old dBase apps. I included the old _mfile menu from the ol' VFP system menu, and modified it some. This menu is automatically disabled whenever I'm in a modal form. How do I turn it back on again? Should I just not ever use modal forms? I know that some people say you shouldn't. Is this the reason? In general, is there any place where this and other specific features of the standard VFP system menus are documented? The manual and help menus are, as usual, unhelpful.
Bret,
If you look at other applications, such as a spreadsheet or word processor, you'll note that the only modeless windows are those containing the spreadsheet or documents. The same applies to creating a data application. The only forms that should be modeless are the data entry forms. Modal dialogs are used in those instances where the user must complete some action before the system allows them to proceed.
I believe that you could get around the disabled menu business in FP 2.x by simply re-executing the menu from with the dialog. I don't know if this still applies to VFP. It was a feature I never used.
HTH,
George
George
Ubi caritas et amor, deus ibi est