Solved

RichEdit lines

Posted on 1999-01-06
2
175 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

827 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