ListView with checkboxes as SubItems
I have scoured the Internet and MSDN, maybe I'm blind, but I can't find anything that tells me how to make checkboxes in my ListView subitems. I know that you can have a checkbox beside the item but that is not what I am looking for. I need checkboxes as subitem data. How can I make that happen?
Thanks.
Re: ListView with checkboxes as SubItems
You could probably cheat and place a "checkbox" bitmap/icon in the subitem. it would look like a checkbox and the user clicked it you could change it to another icon, a checked checkbox.
i know that other people in my company have done this, but i haven't seen the code (yet).
just a thought,
john
John Pirkey
MCSD
http://www.ShallowWaterSystems.com
http://www.stlvbug.org
Re: ListView with checkboxes as SubItems
Thanks John -- I've come to the same conclusion. I found a checkmark icon and the white 'X' with red background circle icon in one of my Visual Studio subfolders so that's what I'm going to do. I have Chris Eastwood's VB Code Library that shows you how to put icons in SubItem columns and that seems to be working good so far. Still have more to do but its getting there. Thanks. - Dave
Re: ListView with checkboxes as SubItems