Making Enter Key in Directory List Box Act Like Double-Click (93215)
The information in this article applies to:
- Microsoft Visual Basic for MS-DOS
- Microsoft Visual Basic Standard Edition for Windows 1.0
- Microsoft Visual Basic Standard Edition for Windows 2.0
- Microsoft Visual Basic Standard Edition for Windows 3.0
This article was previously published under Q93215 SUMMARY
When you double-click an item in a directory list box control, it
opens the directory and displays its subdirectories.
The directory list box control ignores the Enter key by default. To
cause a directory list box to treat the Enter key the same way as a
double-click, set the Path property to List(ListIndex) from within the
KeyPress event handler.
Modification Type: | Minor | Last Reviewed: | 8/16/2005 |
---|
Keywords: | KB93215 |
---|
|