|
-
Nov 18th, 1999, 08:21 AM
#1
Thread Starter
New Member
One problem i have with the listview control is that when i have it in report view and add and item to it, it puts the item at the very top instead of the bottom. I was wondering if theres a way to make the listview put the item that is added down at the bottom of the listview. thanks for the help (by the way, i use VB5)
-
Nov 18th, 1999, 09:55 AM
#2
ListItem object's Add method has first parameter - Index that specifies the index of the ListItem to add:
Code:
Dim xItem As ListItem
Set xItem = ListView1.ListItems.Add(ListView1.ListItems.Count + 1, , "MyItem")
------------------
Serge
Software Developer
[email protected]
[email protected]
ICQ#: 51055819
[This message has been edited by Serge (edited 11-18-1999).]
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
|