Home All Groups Group Topic Archive Search About

listview checkbox column - toggle image

Author
15 Feb 2006 12:03 AM
mongphong28
Hi,

In VB6 I could create the appearance of a checkbox column in a listview
by toggling an image when the user clicked in the appropriate cell.
This same kind of column can be seen in MS Access and is different to
the built in Checkboxes property of a listview which puts checkboxes at
the left of the item.

Does anyone know how to do this in VB.Net?

Regards,
Mong

Author
15 Feb 2006 2:55 AM
Ken Tucker [MVP]
Hi,

        Maybe this will help

http://www.windowsforms.net/default.aspx?tabindex=6&tabid=47&ItemID=21&mid=142

Ken
-------------
<mongphon***@yahoo.com.au> wrote in message
Show quoteHide quote
news:1139961833.553902.214690@f14g2000cwb.googlegroups.com...
> Hi,
>
> In VB6 I could create the appearance of a checkbox column in a listview
> by toggling an image when the user clicked in the appropriate cell.
> This same kind of column can be seen in MS Access and is different to
> the built in Checkboxes property of a listview which puts checkboxes at
> the left of the item.
>
> Does anyone know how to do this in VB.Net?
>
> Regards,
> Mong
>
Author
15 Feb 2006 4:45 AM
mongphong28
No thanks mate I'm not looking to buy a control!!

Why would I buy something I can easily create?

All I'm asking is if anyone has played with toggling images in a
listview on mouse click events, a simple task in VB6 and thought it
would be easier asking here first rather than digging through the new
..NET events but oh well...