Results 1 to 2 of 2

Thread: ListBoxes

  1. #1

    Thread Starter
    Hyperactive Member gravyboy's Avatar
    Join Date
    Jan 2000
    Location
    Where I was before . . . if you don't know then you're new!
    Posts
    334

    Post

    In code how can I goto the last line of a listbox?


    ------------------
    Matt G
    Either [email protected]] or [email protected]

  2. #2
    Guest

    Post

    I i am right, you can do like this.

    List1.List(List1.ListCount - 1)

    now you have the last item from the listbox.

    and if you want to read every items from the listbox you can do like this

    dim i as integer

    for i = 0 to list1.listcount - 1
    list2.additem list1.list(i)
    next

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