Flicker

ScaleRichView support and discussion (TRichView add-on for WYSIWYG editing)
Post Reply
renatg
Posts: 2
Joined: Mon Jan 13, 2014 9:22 am

Flicker

Post by renatg »

Hello. I am use this code:

SRichViewEdit1.BeginUpdate;

While SRichViewEdit1.RichViewEdit.SearchText('SearchText', [rvseoDown]) do
SRichViewEdit1.RichViewEdit.InsertText('ReplaceText', False);

SRichViewEdit1.EndUpdate;

But richViewEdit flickers. What to do?
Sergey Tkachenko
Site Admin
Posts: 17521
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

As far as I remember, TSRichViewEdit does not have BeginUpdate and EndUpdate methods.
Use

Code: Select all

SRichViewEdit1.CanUpdate := False;
...
SRichViewEdit1.CanUpdate := True;
renatg
Posts: 2
Joined: Mon Jan 13, 2014 9:22 am

Post by renatg »

It worked. Thanks.
Post Reply