Results 1 to 2 of 2

Thread: CheckListBox

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 2006
    Posts
    66

    CheckListBox

    how could i on a lcick of a button, check all the items in the CheckeListBox, NOT a listview. Thanks

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

    Re: CheckListBox

    The CheckedListBox has a SetItemChecked method to check or uncheck an item. To iterate over all items you would use a For loop. The help/MSDN topic for SetItemChecked has a code example.
    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