Click to See Complete Forum and Search --> : Listbox control in VB 6.0


Aaron
February 18th, 1999, 09:55 PM
This is probably a very simple thing for someone out there, and if you know how to do it right off the top of your head, I would greatly appreciate a short email...


How do I get/set the checked property in a listbox with checkboxes (style 1) in VB 6.0?! It's nice to see those little checkboxes there, but without the ability to get/set their values, it's practically useless... The MSDN libraries are likewise no help :P


Thanks to anyone that can give me a hand.

Chris Eastwood
February 19th, 1999, 02:47 AM
Hi


I don't know about VB6, but in VB5 it was :


If List1.Selected(iList) = True Then .....


Where iList is an integer pointing to an item in the list.


Regards


Chris Eastwood


CodeGuru - the website for developers

http://www.codeguru.com/vb