I have created a FileListBox that displays all the files associated with the Dir.
Is there a way that i can select all the files when the user clicks a command button "Select ALL"
Thanks
Printable View
I have created a FileListBox that displays all the files associated with the Dir.
Is there a way that i can select all the files when the user clicks a command button "Select ALL"
Thanks
Use the Selected Property to Indicate the Item is Selected, (MultiSelect has to have been enabled on the List/FileList Control)..
private Sub Command1_Click()
Dim iIndex as Integer
for iIndex = 0 to File1.ListCount - 1
File1.Selected(iIndex) = true
next
End Sub
Aaron Young
Analyst Programmer
[email protected]
[email protected]
Thank very much!!! :-)
Oppps...
Thank YOU very much!!!