Rich Text Box flickers whenever I do *anything*!
Posted on 2003-03-24
I am trying to do processing of the text in a rich text box. When I do, it flickers.. I tried
copying the entire rich text to a duplicate one, showing the new box, hiding the old and doing the processing in the background, then restoring the new one. That doesn't work. Even if the task is simple like:
(save old selStart and selLength)
rtb.SelStart = 0
rtb.SelLength = Len(rtb.Text)
'//This next line causes flickering!!!
rtb.SelBold = True
(restore selStart and selLength)
The screen still flickers. Is there any way to avoid this? thanks!!