Arrow Keys Don't Activate Control Box in Form Containing Menus

ID: Q94777


The information in this article applies to:
  • Microsoft Visual Basic Standard and Professional Editions for MS-DOS, version 1.0


SUMMARY

On a form that contains menus, when a menu is selected, you can press the arrow keys to cycle through the menus. However, this doesn't include the control box in the upper-left corner of the form.

This behavior in Visual Basic for MS-DOS differs from the behavior in Microsoft Windows versions 3.0 and 3.1, and it also differs from the behavior in Visual Basic for Windows.

The following reproduces the behavior:

  1. Create a new form and put two menus on it.


  2. Compile and run the program.


  3. Press the ALT key to activate the menus.


  4. Press the right arrow key and notice that only the menus are cycle.


Additional query words: VBmsdos 1.00

Keywords :
Version : MS-DOS:1.0
Platform : MS-DOS
Issue type :


Last Reviewed: December 4, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.