MrFox
01-22-2005, 04:14 PM
Simple question, how do (can) I show a folder icon in a list box? I am aware of DirListBox, but that's not what I am looking for. I thought about using ListView but it doesn't have the same methods, properties as listbox and I've created much of my code around listbox.
If there is no way then ,maybe I can get a tip or two on converting some of my code for use of listview.
fixitchris
01-24-2005, 11:11 AM
i don't think a list box has those options... i would go listview, its much more powerful.
dim some ListItem variables
public lvItem as listitem
depending on the listviews VIEW type you can add items
Set lvItem = form1.listview1.ListItems.Add(, , "TEXT")
lvItem.SubItems(1) = "More Column"
lvItem.SubItems(2) = "Another Column"
MrFox
01-25-2005, 06:58 AM
i don't think a list box has those options... i would go listview, its much more powerful.
dim some ListItem variables
public lvItem as listitem
depending on the listviews VIEW type you can add items
Set lvItem = form1.listview1.ListItems.Add(, , "TEXT")
lvItem.SubItems(1) = "More Column"
lvItem.SubItems(2) = "Another Column"
I see, thanks. With a little work I can modify what I have to suit this...
fixitchris
01-25-2005, 08:21 AM
yes. and then i'd recommend create imageLists to keep all your icons in.