How to Highlight a Menu Bar and Popup ProgrammaticallyLast reviewed: April 30, 1996Article ID: Q110909 |
The information in this article applies to:
To programmatically activate a menu pad and the associated popup, use the ACTIVATE MENU <menu_name> PAD <pad_name> command. For example:
ACTIVATE MENU _MSYSMENU PAD _MSM_FILE Note that the File menu is highlighted and the popup is active. To have this process be repeated when a program or screen is exited and control is returned to the menu, make the ACTIVATE MENU command the last line of code executed in the program or screen. For the system menu pad names, see the "Language Reference" starting on page L3-637. For more information on how to do this in Visual FoxPro, please see the following article in the Microsoft Knowledge Base:
ARTICLE-ID: Q143074 TITLE : How to Highlight a Menu Option or Menu Item Programmatically |
Additional reference words: FoxDos FoxWin 2.00 2.50 2.50a 2.50b 2.60 2.60a
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |