S Sabour Active member Joined Sep 1, 2006 Messages 25 Programming Experience Beginner Sep 19, 2006 #1 how to AutoScrool a Listbox so it will automatic showing the newest added item???
JohnH VB.NET Forum Moderator Staff member Joined Dec 17, 2005 Messages 15,800 Location Norway Programming Experience 10+ Sep 19, 2006 #2 Set the Listbox.TopIndex property. How is this request related to Remoting? Moved thread to Listcontrols Forum. Upvote 0 Downvote
Set the Listbox.TopIndex property. How is this request related to Remoting? Moved thread to Listcontrols Forum.
S Sabour Active member Joined Sep 1, 2006 Messages 25 Programming Experience Beginner Sep 19, 2006 #3 hmm sorry where to set this? Listbox.SelectedIndexChanged event? Upvote 0 Downvote
JohnH VB.NET Forum Moderator Staff member Joined Dec 17, 2005 Messages 15,800 Location Norway Programming Experience 10+ Sep 20, 2006 #4 No. There isn't an event that tells when items collection is altered, so you set the Topindex property after you have added item. Upvote 0 Downvote
No. There isn't an event that tells when items collection is altered, so you set the Topindex property after you have added item.
S Sabour Active member Joined Sep 1, 2006 Messages 25 Programming Experience Beginner Sep 21, 2006 #5 JohnH with all respect pls give example Upvote 0 Downvote
JohnH VB.NET Forum Moderator Staff member Joined Dec 17, 2005 Messages 15,800 Location Norway Programming Experience 10+ Sep 21, 2006 #6 ok, example here 'lb' is the Listbox instance. VB.NET: 'add item code lb.TopIndex = lb.Items.Count - 1 Upvote 0 Downvote
ok, example here 'lb' is the Listbox instance. VB.NET: 'add item code lb.TopIndex = lb.Items.Count - 1
S Sabour Active member Joined Sep 1, 2006 Messages 25 Programming Experience Beginner Sep 21, 2006 #7 any other code? because i have too many code for ListBox.Item.Add code Upvote 0 Downvote
S Sabour Active member Joined Sep 1, 2006 Messages 25 Programming Experience Beginner Sep 26, 2006 #8 anyone can help? Upvote 0 Downvote