Q: ListBox positioning...
I am working on a "very" simple Net-Chat program. I have the connections working and everything, but my only problem is that I am using a ListBox for the text sent back&forth. I am using a ListBox so that after about 50 lines, it can remove the oldest lines to save on memory. My problem... I have the ListBox set to about 10 collums, but when a new item is added (beyond 10) it automatically scrolls to the top of the list. I need it to keep the last item added showing. How can I force it to the most recent item in the list?
Michael West; mwest@micoks.net

use after the code where you add someting to the listbox the next line List1.ListIndex = List1.ListCount - 1 This will set the focus to the last line. Return