• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 218
  • Last Modified:

synchronising 2 memo's scrolling action

Hi! When scrolling 1 of the memo, how can I make the other
memo scrolls in the same direction and at the same speed?
0
nigery
Asked:
nigery
1 Solution
 
rwilson032697Commented:
Create a descendant class from TMemo and override the WM_HSCROLL and WM_VSCROLL messages. In the handlers for these messages send a copy of them to the second memo which will then scroll in step with the first memo.

Cheers,

Raymond.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now