RichEdit and Scrolling

From: Yehia Ahmed (yehiaeg_at_hotmail.com)
Date: 01/25/04


Date: Sun, 25 Jan 2004 20:17:48 +0200

hi,

i have a richedit control containing about 200 lines, on key down event i
wrote some procedures for the syntax coloring,
the problem is sometimes the richedit scrolls a little bit up or down (this
happens maybe cause i change the .selstart in syntax coloring),

anyway to lock the scroll bars,like this
LockScrollBras,
Do the syntax coloring,
Unlock ScrollBars,

Thanks In Advance
Yehia.



Relevant Pages

  • Re: RichEdit and Scrolling
    ... > i have a richedit control containing about 200 lines, ... > the problem is sometimes the richedit scrolls a little bit up or down (this ... > happens maybe cause i change the .selstart in syntax coloring), ... Chris Luck ...
    (borland.public.delphi.language.objectpascal)
  • Re: RichEdit and Scrolling
    ... i thought of using FETFIRSTVISIBLELINE ... > i have a richedit control containing about 200 lines, ... > the problem is sometimes the richedit scrolls a little bit up or down ... > happens maybe cause i change the .selstart in syntax coloring), ...
    (borland.public.delphi.language.objectpascal)