|
-
Aug 1st, 2000, 05:58 PM
#1
Thread Starter
New Member
You can obviously add an icon to a listItem, but is there anyway to add a graphic to a ListView SubItem (in lvwReport)? I have a column in my listView where the value can be "yes" or "now", and I would like to use a gaphic check for yes and a graphic X for no.
Thanks for any help...
-
Aug 1st, 2000, 08:05 PM
#2
Member
In VB6 you can. Use the Listitems.add method as usual.
Add each subitem with the listitems(x).subitems.add method
then listitems(x).sutitems(y).reporticon = <icon>
you can have an icon for each listsubitem
-
Aug 1st, 2000, 08:07 PM
#3
Member
i had a typo...
listitems.add
then listitems(x).listsubitems.add
listitems(x).listsubitems(y).reporticon = <icon>
-
Aug 2nd, 2000, 09:07 AM
#4
Thread Starter
New Member
That's what I needed! Thanks for your help...
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
|