ListView and the Tag property

ListView and the Tag property

Post by Chris » Fri, 13 Dec 2002 03:25:21



Does anyone have any sample code that shows you how to add
a custom property to the Items collection to simulate the
TAG property VB 6.0 had with the listview control?
 
 
 

ListView and the Tag property

Post by Jeff » Sat, 14 Dec 2002 05:05:08


Chris

Whats wrong with the tag property the the listview has now.
Now you can stuff anything into the tag not just strings
or you can inherit from the listview and make the tag
property strong typed if thats what you want.

Jeff B

Quote:>-----Original Message-----
>Does anyone have any sample code that shows you how to
add
>a custom property to the Items collection to simulate the
>TAG property VB 6.0 had with the listview control?

>.


 
 
 

ListView and the Tag property

Post by Chris » Sat, 14 Dec 2002 07:06:23


Nothing is wrong with the Tag property that is already
there unles your a blundering idiot that just flew past it
while investigating the Item object and didn't see it :)

Thanks

Quote:>-----Original Message-----
>Chris

>Whats wrong with the tag property the the listview has
now.
>Now you can stuff anything into the tag not just strings
>or you can inherit from the listview and make the tag
>property strong typed if thats what you want.

>Jeff B

>>-----Original Message-----
>>Does anyone have any sample code that shows you how to
>add
>>a custom property to the Items collection to simulate
the
>>TAG property VB 6.0 had with the listview control?

>>.

>.