Results 1 to 4 of 4

Thread: Checked List Box

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2004
    Posts
    12

    Checked List Box

    Im working in vb.NET and I'm new to it.

    How can you tell if more than one box is checked and send a message while stopping the subroutine util this criteria is met?

  2. #2
    Frenzied Member Mike Hildner's Avatar
    Join Date
    Jul 2002
    Location
    Des Moines, NM
    Posts
    1,690
    Like this?
    VB Code:
    1. If CheckedListBox1.CheckedIndices.Count > 1 Then

  3. #3
    Frenzied Member
    Join Date
    May 2004
    Location
    Carlisle, PA
    Posts
    1,045
    tiffjoe:

    I think this is the function you are looking for -

    CheckedListBox1.CheckedIndices.Count()

    Figure out which event you want to activate this and test for this value >= 2 (or whatever).

    This info was obtained by scrounging through the "CheckedListBox" help.
    Blessings in abundance,
    All the Best,
    & ENJOY!

    Art . . . . Carlisle, PA . . USA

  4. #4

    Thread Starter
    New Member
    Join Date
    Jul 2004
    Posts
    12

    vb.net

    Thanks that helped. Sometimes I just don't know where to find the answers. Do you know of any good vb.net resources?
    Thanks again.

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