How to select the folder in the dirlistbox and open the filelist inside the folder without double click the folder in the dirlistbox?
Printable View
How to select the folder in the dirlistbox and open the filelist inside the folder without double click the folder in the dirlistbox?
Any idea on this? How to open the directory in the directory list with one click?
I don't think you can, you have to double click a dir to open it.Quote:
Originally Posted by matrik02
Use code simular to this:However you should be aware of the fact that this will also change the folder when the user use the keyboard to highlight a new item.vb Code:
Private Sub Dir1_Click() Dir1.Path = Dir1.List(Dir1.ListIndex) End Sub