Solved

RichEdit lines

Posted on 1999-01-06
2
171 Views
Last Modified: 2013-11-22
Hello,

I am searching for a way to goto a specific line in a RichEditbox. So when I load a big file into the box and the ver.scrollbars are active how can I go to a line in the middle of the text and show it.

Hope this makes sense, :)
Thanks
Vincent
---
The best proof that there is intelligent alien
life is that they never tried to contact us.
---
0
Comment
Question by:Vincentg
2 Comments
 
LVL 12

Accepted Solution

by:
rwilson032697 earned 10 total points
ID: 1355011
Use the EM_LINESCROLL message:

eg: RichEdit1.Perform(EM_LINESCROLL, 0, LineNum);

Cheers,

Raymond.

0
 

Author Comment

by:Vincentg
ID: 1355012
Great

Thanks Raymond..
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Delphi OLE Error 8 95
calling procedure inside activexForm from secondform 1 232
Delphi TcxGrid group footer summary 3 210
oracle global variables 4 63
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now