Results 1 to 2 of 2

Thread: CheckedListBox question

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jan 2008
    Location
    Philippines
    Posts
    218

    CheckedListBox question

    Hi guys,

    I have a CheckedListBox with Monday To Friday items.

    How will my program know what items are checked?

    Say only Tuesday and Thursday only are checked.

    I tried...

    Code:
    if(clbDays.Items[x].Checked==true)
    but ".Checked" is not valid.

    Please help

    Thank you

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: CheckedListBox question

    Instead of just guessing you should read the documentation for the CheckedListBox class. Not surprisingly, it documents all the class members so you'll be able to find the one you need to use.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

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