Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How To Scroll Multi-line Textbox?
Message
From
25/07/2003 10:43:56
 
 
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00813484
Message ID:
00813492
Views:
6
Brian,
>
>Try the following:-
>
>textBox1.SelectionStart = textBox1.TextLength;
>textBox1.ScrollToCaret();
>
>This does not set the focus to the control and display the caret.
>
>HTH
>Neil


Hi Neil,

Thanks. I just tried the following and it worked too.
this.txtMessages.Select( this.txtMessages.TextLength, 0 );
this.txtMessages.ScrollToCaret();
- Brian


VFP6 SP5, VFP8 SP1, VFP 9 SP 1 and Win XP SP 3 (unless otherwise specified)


www.wulfsden.com
Previous
Reply
Map
View

Click here to load this message in the networking platform