>A form's button's click runs a long process. As it does, it updates a string that is shown to user via an editbox. This works fine except when the editbox is full and needs to scroll to show the latest addition.
>
>What is the best way to scroll edit box as needed to show the latest addition at all times?
>
>TIA,
>
>Alex
Alex,
Set the .SelStart property to the len of the value, in other words
this.SelStart = len(this.value)
[Update]
By the way, I used to use an editbox as you, but then I changed to a grid, for then I can display the messages in different colors without many complications
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?
"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare
"To die for a religion is easier than to live it absolutely"
Jorge L. Borges