How to avoid unnecessary repaints?

General TRichView support forum. Please post your questions here
Post Reply
enzogupi
Posts: 4
Joined: Mon Jul 13, 2009 7:56 am

How to avoid unnecessary repaints?

Post by enzogupi »

Is there a way to programmatically enable/disable refreshing?
I need to do some sequential operations like SetSelection
and ApplySelectionStyle and I wish only a single repaint at the end.
Sergey Tkachenko
Site Admin
Posts: 17569
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

rve.BeginUpdate...rve.EndUpdate
enzogupi
Posts: 4
Joined: Mon Jul 13, 2009 7:56 am

Post by enzogupi »

Sergey Tkachenko wrote:rve.BeginUpdate...rve.EndUpdate
It works... thanks
Post Reply