Conversation

TMemo repaint problem

(overview of excerpts from articles in conversation)

Newsgroup: borland.public.delphi.objectpascal

# Lines
wrote on 06-Oct-1999:

I have a problem with my memo box. I am writing a program that replays a
text process on the memo box, but as the text amout increases, the box
blinks more and more. I know it's because of the repaint function, but
is there any way you can repaint the memo box yourself, or just get rid
on the blinking?
14
  
Nick Ryan replied on 06-Oct-1999:

Arnt Lykke Jakobsen <✉post9.tele.dk> wrote in message
  news:✉post9.tele.dk...
  (snip)

Have you tried using the BeginUpdate and EndUpdate methods? Or alternatively
  you can use the Lines.Add method to add just the updated text rather than
  replacing all the text in the memo which is what the .Text property does.
19
  
Lars Gollub replied on 07-Oct-1999:

*Maybe* it *could* help to use double buffering. Try seting the property
  DoubleBuffered of the memo control to True.
  Good luck!
  Lars
  (snip)

22
FYI: Phrase searches are enclosed in either single or double quotes
 
 
Originally created by
Tamarack Associates
Tue, 14 May 2024 11:55:18 UTC
Copyright © 2009-2024
HREF Tools Corp.