Microsoft KB Archive/215373

= BUG: Intrinsic Controls: Shortcut Keys Do Not Work as Expected =

Article ID: 215373

Article Last Modified on 8/19/2005

-

APPLIES TO


 * Microsoft Windows CE Toolkit for Visual Basic 6.0
 * Microsoft eMbedded Visual Basic 3.0

-



This article was previously published under Q215373



SYMPTOMS
Adding numeric shortcut keys to your controls appears to have no effect.



RESOLUTION
Numeric shortcuts are remapped to the CTRL+ALT+NUMBER key combination instead of ALT+NUMBER key combination.



STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.



Steps to Reproduce Behavior
 Create a new Windows CE pro. Place two Labels and two TextBoxes on Form1. Change the TabIndex of the controls as follows:  Label1.TabIndex = 0 Text1.TabIndex = 1 Label2.TabIndex = 2</li> Text2.TabIndex = 3</li></ul>

</li> Set the Caption property of Label1 to "&1."</li> Set the Caption property of Label2 to "&a."</li> Run the application.</li></ol>

If you run the application in emulation, you are able to switch between Text1 and Text2 by pressing ALT+1 and ALT+A key combinations respectively.

If you run the application on a device, you are not able to switch to Text1 using the ALT+1 keyboard shortcut. Instead, you need to use the CTRL+ALT+1 key combination.

Additional query words: vbce wce vbce6 eVB

Keywords: kbbug kbtoolkit kbpending KB215373

-

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

© Microsoft Corporation. All rights reserved.