Microsoft KB Archive/265778

= BUG: Shortcut Keys Do Not Work as Expected =

Article ID: 265778

Article Last Modified on 10/15/2002

-

APPLIES TO


 * Microsoft eMbedded Visual Basic 3.0

-



This article was previously published under Q265778



SYMPTOMS
Numeric shortcut keys for controls appear to have no effect when running an application.



RESOLUTION
Numeric shortcut keys are remapped to the CTRL+ALT+NUMBER key combination instead of the ALT+NUMBER key combination when they are running an application.



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 HPC PRO Project. Place two Label and two TextBox controls on Form1. At design time, change the TabIndex of the controls as follows:

Label1.TabIndex = 0

Text1.TabIndex = 1

Label2.TabIndex = 2

Text2.TabIndex = 3

 Set the Caption property of Label1 to &a. Set the Caption property of Label2 to &1. Target the device, and then run the application.</li> Use the ALT+1 keyboard shortcut, and note that the focus remains on the Text1 control.</li> Use the CTRL+ALT+1 keyboard shortcut, and note that the focus moves to the Text2 control.</li></ol>

This problem also occurs with the CommandButton, CheckBox, and OptionButton controls.

If the application is run in emulation, the problem occurs sporadically when using numeric as well as alphabetic shortcut keys.

This problem has also been reproduced when using Windows CE Palm-size PC projects.

<div class="references_section">