J
Jeff
Hello,
I have a form & only a ListBox on it.
When it starts I have some other processes going on & I
have it updating the ListBox when each process is done so
user can see what is going on...
ListBox.AddItem "What is going on..."
DoEvents
This works fine.
As the number of items added goes past the number that
can fit in the screen the vertical scroll bars come up
which also is supposed to happen.
But what I would like to happen is when the above
happens, that the Vertical Scroll Bar changes to the
bottom automatically (through code) so user can see the
last items that were added not the top ones.
There must be some way to set the Vertical Scroll bar to
the bottom through code & keep doing this as more items
are added, but I have no idea on how to do so. How can
this be done ?
Any help would be greatly appreciated.
Thank you,
Jeff
I have a form & only a ListBox on it.
When it starts I have some other processes going on & I
have it updating the ListBox when each process is done so
user can see what is going on...
ListBox.AddItem "What is going on..."
DoEvents
This works fine.
As the number of items added goes past the number that
can fit in the screen the vertical scroll bars come up
which also is supposed to happen.
But what I would like to happen is when the above
happens, that the Vertical Scroll Bar changes to the
bottom automatically (through code) so user can see the
last items that were added not the top ones.
There must be some way to set the Vertical Scroll bar to
the bottom through code & keep doing this as more items
are added, but I have no idea on how to do so. How can
this be done ?
Any help would be greatly appreciated.
Thank you,
Jeff