Results 1 to 2 of 2

Thread: CheckedListBox question?

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Aug 2002
    Location
    top of the mountain
    Posts
    234

    Question CheckedListBox question?

    I have checkedlistbox control and checkOnClick property is set to false. Question is: when user select one item in checkedlistbox how to determine is selectedItem checked or not?

    regard j

  2. #2
    Fanatic Member
    Join Date
    Sep 2002
    Posts
    518
    You could see if it's in CheckedListBox.CheckedItems ...
    If checkedListBox1.CheckedItems.Contains(checkedListBox1.SelectedItem) = False Then


    (SelectedItem may need to be converted to string first...)

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