ListView + checkboxes.

wyrd

Well-known member
Joined
Aug 23, 2002
Messages
1,408
Location
California
Is there any event that allows you to complete control how checkboxes are handled when clicked?

Ive tried the ItemCheck event, unfortunately it doesnt fire if the items are checked programatically or double clicked (which causes check/uncheck to happen implicitly) or if the user has the row selected then clicks the checkbox.

ATM the checkboxes for the ListView control dont seem to offer any support for control at all. :(

What I want to do is this; I have a column called "Obsolete" in a database and want to display it as true/false. The easiest way I thought of was just displaying checkboxes and marking them as checked for obsolete and false for non-obsolete items. I do not want the user to be able to change these values.

Anyone have any ideas aside from adding yet another column to my ListView? Or, perhaps, am I able to add a checkbox inside a column? Heh.
 
Are you working with an access database?
I know that you can use yes/no as a data type, which
gives you a check box inside the column.
Ive never used ListView though, so I dont know if it
works with that or if the user would be able to change
the values.

ailzaj
 
Back
Top