Is there any way to set a dirlistbox to use a single click event? .Selected is not a property of this control.
Private Sub dirSource_Change()
filSource.Path = dirSource.Path
End Sub
Private Sub dirSource_Click()
Dim i As Integer
For i = 0 To dirSource.ListCount - 1
Select Case dirSource.Selected(i)
Case True
dirSource.Path =
drvSource.Drive & "\" & dirSource.List(i)
Exit For
Case False
End Select
Next i
End Sub
Private Sub dirSource_Change()
filSource.Path = dirSource.Path
End Sub
Private Sub dirSource_Click()
Dim i As Integer
For i = 0 To dirSource.ListCount - 1
Select Case dirSource.Selected(i)
Case True
dirSource.Path =
drvSource.Drive & "\" & dirSource.List(i)
Exit For
Case False
End Select
Next i
End Sub