Changing selection in RichView makes controls blink

General TRichView support forum. Please post your questions here
Post Reply
avlex
Posts: 3
Joined: Wed Feb 23, 2011 12:32 pm

Changing selection in RichView makes controls blink

Post by avlex »

We have some problems with controls added to TRichView (version 12.4.2, Delphi 6), namely with controls inherited from TGraphicControl (e.g., TSpeedButton). The added controls of this type are blinking while one is changing selection bounds in the RichView (even if the controls are not in the selected area). Is there any way to avoid this blinking?
Sergey Tkachenko
Site Admin
Posts: 17559
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

In this version of TRichView - no, sorry.
avlex
Posts: 3
Joined: Wed Feb 23, 2011 12:32 pm

Post by avlex »

It seems that such controls are blinking only if they are transparent (i.e. have csOpaque in their ControlStyle)... Anyway, is there any version of TRichView that has the correct behavior or it will be implemented in future releases?
Sergey Tkachenko
Site Admin
Posts: 17559
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Transparent TGraphicControl blinks because it is drawn after a background below it is drawn.
Probably, a buffered output for graphic controls will be implemented in future, but not soon. And it will slow down redrawing of such controls.
Last edited by Sergey Tkachenko on Sun Feb 27, 2011 2:59 pm, edited 1 time in total.
avlex
Posts: 3
Joined: Wed Feb 23, 2011 12:32 pm

Post by avlex »

I see, thanks a lot for the answers!
Post Reply