|
-
Jun 19th, 2001, 08:22 PM
#1
File listbox Question
is there a way to have the file listbox show more than one column or what control can i use that will
-
Jun 19th, 2001, 08:29 PM
#2
Frenzied Member
Use the listview control.
-
Jun 19th, 2001, 08:34 PM
#3
I've never had the need to use it how do I populate the listview with the contents of a directory
-
Jun 19th, 2001, 09:28 PM
#4
Anyone?
-
Jun 19th, 2001, 09:33 PM
#5
_______
<?>
Code:
'you could use a listbox and set it's column property to 2
'then make the filelistbox invisible and load the contents into
'the listbox...as you may or maynot be aware, when using columns in
'a listbox, the left side fills first before the second column starts
Private Sub Form_Load()
File1.Path = "C:\"
File1.Pattern = "*.*"
File1.Visible = False
Dim i
For i = 0 To File1.ListCount - 1
List1.AddItem File1.List(i)
Next i
End Sub
"A myth is not the succession of individual images,
but an integerated meaningful entity,
reflecting a distinct aspect of the real world."
___ Adolf Jensen
-
Jun 19th, 2001, 09:43 PM
#6
thank you all Now I can get some sleep its 10:30 and 4 am comes early so thanks again it woorked perfectly and i'm learning to
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
|