TRichView typewriter scrolling
Posted: Sat Feb 06, 2010 4:52 pm
I'm trying to achieve the effect named as "typewriter scrolling", which keeps the caret in a fixed vertical position.
I used OnChange event and calculated the delta needed to correct the scrolling point using ScrollBy, but then I get some repainting glitches (visible paragraphs appear repeated two/three times inside the control).
Is there an easy way to get this effect?
I used OnChange event and calculated the delta needed to correct the scrolling point using ScrollBy, but then I get some repainting glitches (visible paragraphs appear repeated two/three times inside the control).
Is there an easy way to get this effect?