Microsoft KB Archive/111060

INF: How to Make a Menu Available During a READ MODAL PSS ID Number: Q111060 Article last modified on 05-31-1994

2.00 2.50 2.50a 2.50b | 2.50 2.50a 2.50b | 2.50b

MS-DOS | WINDOWS | MACINTOSH

-

The information in this article applies to:


 * Microsoft FoxPro for MS-DOS, versions 2.0, 2.5, 2.5a, and 2.5b
 * Microsoft FoxPro for Windows, versions 2.5, 2.5a, and 2.5b
 * Microsoft FoxPro for Macintosh, version 2.5b

-

To make a menu available during a READ MODAL command, issue a DO

.mpr command in the WHEN clause of the READ for the modal screen

for which that menu is supposed to be active.

You could also do this as follows:

  In the Cleanup code for the menu, issue the command: SET SYSMENU SAVE   In your screen, add the following lines to the indicated snippets: Setup code: DO .mpr READ WHEN: SET SYSMENU TO DEFAULT 

REFERENCES

=
“Developer s Guide,” version 2.0 (MS-DOS), page D3-8

“Developer s Guide,” version 2.5 (MS-DOS), page D2-92

“Developer s Guide,” version 2.5 (Windows), page D2-99

Additional reference words: 2.00 2.50 2.50a 2.50b

=
================================================================

Copyright Microsoft Corporation 1994.