[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Having the last line of the textbox control displayed

Posted on 2005-04-10
1
Medium Priority
?
320 Views
Last Modified: 2010-04-16
Hello, is there a way to have the last line of a textbox viewed automaticly when there is new text added to it?
0
Comment
Question by:dev-us
1 Comment
 
LVL 10

Accepted Solution

by:
eternal_21 earned 200 total points
ID: 13749731
Suppose your textbox is named textBox1,  you can use:

    textBox1.Select(textBox1.Text.Length, 0);
    textBox1.ScrollToCaret();
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question