Page 1 of 1
Changing selection in RichView makes controls blink
Posted: Wed Feb 23, 2011 12:40 pm
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?
Posted: Wed Feb 23, 2011 6:18 pm
by Sergey Tkachenko
In this version of TRichView - no, sorry.
Posted: Thu Feb 24, 2011 9:51 am
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?
Posted: Thu Feb 24, 2011 3:46 pm
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.
Posted: Fri Feb 25, 2011 8:30 am
by avlex
I see, thanks a lot for the answers!