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 to Selection Start

Thread ID:

Created:

Updated:

Platform:

Replies:

92665 Jan 29,2010 04:29 AM Feb 11,2010 10:56 PM Windows Forms 5
loading
Tags: EditControl
Michael Topf
Asked On January 29, 2010 04:29 AM

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

Karikalan N [Syncfusion]
Replied On February 3, 2010 04:06 AM

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

Michael Topf
Replied On February 4, 2010 07:12 AM

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

Karikalan N [Syncfusion]
Replied On February 4, 2010 09:42 AM

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


Michael Topf
Replied On February 11, 2010 05:57 AM

Hi,

yes that helps. Thank you.

Michael

Karikalan N [Syncfusion]
Replied On February 11, 2010 10:56 PM

Hi Michael,

Thanks. let me know if you need further assistance.

Regards,
Karikalan N




CONFIRMATION

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.

;