BUG: Shortcut Keys Do Not Work as Expected (265778)



The information in this article 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.

MORE INFORMATION

Steps to Reproduce Behavior

  1. Create a new Windows CE HPC PRO Project.
  2. Place two Label and two TextBox controls on Form1.
  3. At design time, change the TabIndex of the controls as follows:

    Label1.TabIndex = 0
    Text1.TabIndex = 1
    Label2.TabIndex = 2
    Text2.TabIndex = 3

  4. Set the Caption property of Label1 to &a.
  5. Set the Caption property of Label2 to &1.
  6. Target the device, and then run the application.
  7. Use the ALT+1 keyboard shortcut, and note that the focus remains on the Text1 control.
  8. Use the CTRL+ALT+1 keyboard shortcut, and note that the focus moves to the Text2 control.
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.

REFERENCES

For additional information, click the article number below to view the article in the Microsoft Knowledge Base:

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


Modification Type:MajorLast Reviewed:10/15/2002
Keywords:kbBug kbCtrl kbDSupport kbToolkit KB265778