|
-
Jan 12th, 2000, 12:09 PM
#1
Thread Starter
Hyperactive Member
In code how can I goto the last line of a listbox?
------------------
Matt G
Either [email protected]] or [email protected]
-
Jan 12th, 2000, 12:24 PM
#2
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|