Solved

Programmatically scrolling a TSynEdit

Posted on 2014-04-27
2
440 Views
Last Modified: 2014-04-28
Hi all.

To scroll a TSynEdit to a specified line, I use TopLine property.  It works fine except when WordWrap is set to True.

How can I solve this?

Thanks in advance.
Marco
0
Comment
Question by:Marco Gasi
2 Comments
 
LVL 45

Accepted Solution

by:
aikimark earned 500 total points
ID: 40026337
Can you work around this problem by toggling word wrap before and after you scroll the control contents?
0
 
LVL 31

Author Closing Comment

by:Marco Gasi
ID: 40026844
I would like a cleaner solution, but maybe it simply doesn't exist :-)
Your suggestion solved the problem: thank you, aikimark.
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Suggested Solutions

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…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

778 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