|
-
March 13th, 2001, 04:47 PM
#1
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.
-
March 14th, 2001, 10:25 AM
#2
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
John Pirkey
MCSD (VB6)
http://www.stlvbug.org
-
March 14th, 2001, 11:22 AM
#3
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
-
April 16th, 2001, 03:09 PM
#4
Re: ListView with checkboxes as SubItems
Last edited by vbgrammer; May 16th, 2002 at 11:55 AM.
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
|