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. Image for the cookie policy date
close icon

EditControl default scroll state

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

1 Reply

AD Administrator Syncfusion Team March 21, 2003 01:01 PM UTC

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.

Live Chat Icon For mobile
Up arrow icon