Microsoft KB Archive/189504

= PRB: Menu Builder Creates Duplicate Hot Keys =

Article ID: 189504

Article Last Modified on 12/11/1999

-

APPLIES TO


 * Microsoft Visual FoxPro 6.0 Professional Edition

-



This article was previously published under Q189504



SYMPTOMS
Creating a menu with pads that begin with the same letter causes duplicate hot keys to be created. This behavior exists because the first letter of the menu prompt is used for the hot key by default.



CAUSE
This behavior is by design.



RESOLUTION
Create a hot key manually by prefacing the hot key letter with "\<" (without the quotes). This identifies the subsequent letter as the assigned hot key.

As a example, to set "1" as the hot key in the menu prompt, "Test1", the menu prompt would be Test\<1.



STATUS
This behavior is by design.



Steps to Reproduce Behavior
 Create a menu. Add the following two prompts:

Test1, Test2

 Preview the menu.

The "T" in each prompt is identified as the hot key.

Additional query words: hotkey kbVFp600 kbXbase

Keywords: kbprb KB189504

-

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

© Microsoft Corporation. All rights reserved.