Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2015-06

Joint scrolling of parallel memos ?

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Unknown author

Hi,

Let a form be with two same-size same-options no word-wrap Tmemo fields. One text is loaded in each memo, say two linguistic versions.

My intention is to make a joint scrolling of the two memos (accepting approximations by the end of the texts if they do not have the same number of lines)

So,

- is there a simple way to impose that scrolling in one memo will apply also in the other one ?
- if not, can we detect the extent of the displayed text in one memo (resulting from user's input) and apply it in the other memo ?
- if not, can we at least find out what is the first line displayed, helping manual re-sync ?

Thank you for suggestions,

Etienne

(Lyon, France, in real life).

Reply by email