CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 1999
    Posts
    21

    Listbox control in VB 6.0



    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.

  2. #2
    Join Date
    May 1999
    Location
    Oxford UK
    Posts
    1,459

    Re: Listbox control in VB 6.0



    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured