Results 1 to 6 of 6

Thread: [RESOLVED] get amount of checked items.

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Nov 2008
    Posts
    177

    Resolved [RESOLVED] get amount of checked items.

    i have a listbox and i want to get the amount of items that are checked.

    i tried :

    vb Code:
    1. Dim i As Integer
    2. listID.Selected = i
    3. MsgBox (i)

    no luck.

  2. #2
    Addicted Member
    Join Date
    Apr 2009
    Location
    Toronto, Ontario
    Posts
    242

    Re: get amount of checked items.

    Umm, shouldn't that be:

    Code:
    i = listid.selected

  3. #3

  4. #4

    Thread Starter
    Addicted Member
    Join Date
    Nov 2008
    Posts
    177

    Re: get amount of checked items.

    maybe but it still wont work.

    listid.selected gives " argument not optional"

    I had no clue so i just tried a little example.

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Nov 2008
    Posts
    177

    Re: get amount of checked items.

    thanks rhino, so simple (:

  6. #6

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