|
-
Jun 23rd, 2000, 10:13 AM
#1
Thread Starter
Addicted Member
Hi, I have another question regarding the listview control,
I have added 3 pictures in my imagelist
and my listview has 3 colums, now my previous question about the listview was how to add a small picture next to the item, and thanx for helping me with that, but now I want to add a picture next to the other 2 coloums as well and I can work out how to do it, my code to add items to the listview is
With ListView1
Set xListitem = .ListItems.Add(, , Rank, 1, 1)
xListitem.SubItems(1) = Name
xListitem.SubItems(2) = TimeOnline
End With
now I need to add a picture next to the 2 sub items as well, please help.
thank you.
-
Jun 23rd, 2000, 10:29 AM
#2
Thread Starter
Addicted Member
also how do you clear a listview control, I tried to code a for statement to remove all items, but it only removed certain items for some reason.
-
Jun 23rd, 2000, 10:39 AM
#3
Thread Starter
Addicted Member
I just worked out my ssecond question, but I still need help adding pictures next to subitems, if someone can.
thanx
-
Jun 23rd, 2000, 07:25 PM
#4
transcendental analytic
Well the listview doesnt support that
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
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
|