|
-
December 6th, 1999, 12:57 PM
#1
Select ALL
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
-
December 6th, 1999, 03:12 PM
#2
Re: Select ALL
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]
-
December 6th, 1999, 03:59 PM
#3
-
December 6th, 1999, 04:00 PM
#4
Re: Select ALL
Oppps...
Thank YOU very much!!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|