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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

TopIndex or TopLine

Thread ID:

Created:

Updated:

Platform:

Replies:

2037 Dec 11,2002 09:46 AM UTC Dec 13,2002 08:34 AM UTC WinForms 1
loading
Tags: EditControl
Sebastien Lange
Asked On December 11, 2002 09:46 AM UTC

Hi, I'd like to set the top line (the first visible line), the same way that a ListBox do with topindex. EditLocationRange location = editControl1.Find(new EditLocation(1,1), str, false); editControl1.GoToLineChar(location.Start); editControl1.Select(location); //something like //editControl1.TopLine = location.Start; Is there a way to achieve it? Could you integrate it into Edit? Thanks, Sebastien

Administrator [Syncfusion]
Replied On December 13, 2002 08:34 AM UTC

Hi Sebastien, There is a property, ViewportFirstLine, in EditControl that could be used to achieve the function you want: editControl1.ViewportFirstLine = location.Start.L; editControl1.Redraw(); Please see if this works for your application. Thanks for choosing Essential Edit. Syncfusion Technical Support > Hi, > > I'd like to set the top line (the first visible line), the same way that a ListBox do with topindex. > > EditLocationRange location = editControl1.Find(new EditLocation(1,1), str, false); > editControl1.GoToLineChar(location.Start); > editControl1.Select(location); > > //something like > //editControl1.TopLine = location.Start; > > Is there a way to achieve it? Could you integrate it into Edit? > > Thanks, > Sebastien

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.

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

;