We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

EditControl default scroll state

Thread ID:

Created:

Updated:

Platform:

Replies:

3457 Mar 20,2003 01:28 PM Mar 21,2003 08:01 AM Windows Forms 1
loading
Tags: Tools
Ivan Pelly
Asked On March 20, 2003 01:28 PM

When setting the .text property of the control, then displaying the containing form, the control is by default scrolled to the bottom of the text. It there a way to have it default to displaying the beginning of the text, not the end? Thanks

Administrator [Syncfusion]
Replied On March 21, 2003 08:01 AM

Hi Ivan, To adjust this, you will need to modify the location of the cursor. This can be done as follows: After you insert the text, or set the text property, you can then set the current line and character to be 1, and then scroll to the caret. editControl1.CurrentChar = 1; editControl1.CurrentLine = 1; editControl1.ScrollToViewCaret(); -Syncfusion Technical Support Please note that there is a separate forum for Essential Edit issues.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;