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

Scroll to Selection Start

Hi,

in an EditControl I select by code some text. Now I want that the user sees this select so it would be good to scroll to the start of the selection?

How can I do this?

Thanks
Michael

5 Replies

KN Karikalan Natarajan Syncfusion Team February 3, 2010 09:06 AM UTC

Hi Michael,

Thanks for being patience.

Link:http://www.syncfusion.com/uploads/redirect.aspx?&team=support&file=WindowsFormsApplication3-1348579001.zip

Unzip the above link. This contains the sample project for your requirement.

There are 2 menu buttons as follows

1)"Click for Bottom Selected Line"

2)"Click for Top selected line"

Click them to see the changes.

We appreciate on your feedback.

Thanks
Karikala N


MT Michael Topf February 4, 2010 12:12 PM UTC

Hi,

thanks for your help, but my problem is somewhat different. I have files which have maybe 400 chars in a single line. When I select e.g. from column 300 to 325 then I cann scroll vertically to the correct line. But not horizontally to the first selected column.

Is there a way to achieve this?

Thanks,
Michael


KN Karikalan Natarajan Syncfusion Team February 4, 2010 02:42 PM UTC

Hi Michael,

Thanks for being patience.

Link:http://www.syncfusion.com/uploads/redirect.aspx?&team=support&file=WindowsFormsApplication3578974169.zip


Unzip the above link. This contains the sample project for your requirement.

There are 2 menu buttons as follows

1)"Click for Begin Selected text"

2)"Click for End selected text"

Click them to see the changes.

We appreciate on your feedback.

Thanks
Karikalan N



MT Michael Topf February 11, 2010 10:57 AM UTC

Hi,

yes that helps. Thank you.

Michael


KN Karikalan Natarajan Syncfusion Team February 12, 2010 03:56 AM UTC

Hi Michael,

Thanks. let me know if you need further assistance.

Regards,
Karikalan N




Loader.
Live Chat Icon For mobile
Up arrow icon