Using UP ARROW and DOWN ARROW Keys to Move the Focus (100413)
The information in this article applies to:
- Microsoft Visual Basic Standard Edition for Windows 2.0
- Microsoft Visual Basic Standard Edition for Windows 3.0
- Microsoft Visual Basic Professional Edition for Windows 2.0
- Microsoft Visual Basic Professional Edition for Windows 3.0
- Microsoft Visual Basic Standard Edition for Windows 1.0
- Microsoft Visual Basic for MS-DOS
This article was previously published under Q100413 SUMMARY
You can trap for the UP ARROW and DOWN ARROW extended keyboard keys in some
Visual Basic controls by placing code in the KeyDown event procedure. The
code uses KeyCode values to trap the UP ARROW and DOWN ARROW keys. You
cannot, however, trap the keys in all Visual Basic controls because some
controls already have built-in functionality for the UP ARROW and DOWN
ARROW keys, so there is no KeyDown event generated.
Modification Type: | Minor | Last Reviewed: | 8/16/2005 |
---|
Keywords: | KB100413 |
---|
|