Microsoft KB Archive/196089

= PRB: ALT Key Activates a Menu Defined Programmatically =

Article ID: 196089

Article Last Modified on 8/11/1999

-

APPLIES TO


 * Microsoft Visual FoxPro 5.0 Standard Edition
 * Microsoft Visual FoxPro 5.0a
 * Microsoft Visual FoxPro 6.0 Professional Edition

-



This article was previously published under Q196089



SYMPTOMS
Pressing the ALT key after defining a menu programmatically activates the menu.



RESOLUTION
To workaround this problem issue the SET SYSMENU SAVE command before the code and SET SYSMENU TO DEFAULT after the code as follows: SET SYSMENU SAVE

DEFINE MENU HotKeys BAR AT LINE 3 DEFINE PAD HotKeys OF HotKeys PROMPT "Hot Keys" COLOR SCHEME 3

SET SYSMENU TO DEFAULT



STATUS
Microsoft is researching this behavior and will post new information here in the Microsoft Knowledge Base as it becomes available.



Steps to Reproduce Behavior
  Run the following set of commands: DEFINE MENU HotKeys BAR AT LINE 3 DEFINE PAD HotKeys OF HotKeys PROMPT "Hot Keys" COLOR SCHEME 3  Press the ALT key.

Notice that the "Hot Keys" menu activates. However, ALT key should not active the menu.

Keywords: kbxbase kbprb kbpending KB196089

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.