Scroll prevention

Hi,

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

Thanks.

3 Replies

AD Administrator Syncfusion Team 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.

Regards,
Ebenezer.P

http://websamples.syncfusion.com/samples/Edit/60663/main.htm


DK Dmitry Kuskov 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.


AD Administrator Syncfusion Team 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.

Regards,
Ebenezer.P

Loader.
Up arrow icon