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.

Scroll prevention

Thread ID:





60663 May 9,2007 03:13 PM May 21,2007 11:23 PM Windows Forms 3
Tags: EditControl
Dmitry Kuskov
Asked On May 9, 2007 03:13 PM


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 12:37 AM

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 04:13 AM

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 21, 2007 11:23 PM

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.

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.