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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Scroll prevention

Thread ID:





60663 May 9,2007 07:13 PM UTC May 22,2007 03:23 AM UTC WinForms 3
Tags: EditControl
Dmitry Kuskov
Asked On May 9, 2007 07:13 PM UTC


When I'm setting the 'Text' property, the control automatically scrolls to the end of the text.
How can I avoid this?


Administrator [Syncfusion]
Replied On May 10, 2007 04:37 AM UTC

Hi tmn,

It is possible to avoid this using the CurrentLine property. I have attached a sample
that illustrates this. Let me know if this meets your requirements.

Thank you for your patience.



Dmitry Kuskov
Replied On May 10, 2007 08:13 AM UTC

Thanks for the sample.
But I still can see how the control scrolls to the end of the text and after that - to the beginning.
It seems that the 'SuspendPainting' doesn't prevent it from scrolling.

Administrator [Syncfusion]
Replied On May 22, 2007 03:23 AM UTC

Hi tmn,

Our apologies for the delayed response. We have considered adding a property to prevent the EditControl from scrolling to the end of text when the Text property is set and will notify you when the feature has been implemented.

Thank you for your patience.



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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon