|
-
Jan 24th, 2000, 11:44 PM
#1
Thread Starter
Hyperactive Member
I have got a listview setup in report mode. If I add more items than will fit on the screen, a slider appears on the right.
How do I get the focus to follow the new data (arriving off the bottom of the visible section) rather than just display the top few items?
Cheers
-
Jan 24th, 2000, 11:51 PM
#2
Whenever you add a new item to the listview use the following code to change what item is selected:
With ListView1
Set .SelectedItem = .ListItems(.ListItems.Count)
End With
Good luck!
------------------
Joacim Andersson
[email protected]
[email protected]
www.YellowBlazer.com
-
Jan 24th, 2000, 11:58 PM
#3
Thread Starter
Hyperactive Member
I tried that, the item gets selected, but the focus remains at the top, any more ideas??
Cheers
[This message has been edited by Rick H (edited 01-25-2000).]
-
Jan 25th, 2000, 01:37 AM
#4
Member
ListView1.SelectedItem.EnsureVisible
Joon
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
|