- - * - WhiteUnicorn - * - -




* #WhiteUnicorn/ StartPage/ Documentation/DelphiFAQ >


Frequently Asked Questions

Reducing flicker on component redraw

Question:

Is there any way to reduce component flicker when the component is redrawn

Answer:

Adding the csOpaque flag to the ControlStyle of the component
should eliminate the repainting of the component's background.

Example:

constructor TMyControl.Create;
begin
   inherited;
   ControlStyle := ControlStyle + [csOpaque];
end;



* #WhiteUnicorn/ StartPage/ Documentation/DelphiFAQ >



- - * - Anastasija aka WhiteUnicorn - * - - LJLiveJournal
PFPhotoFile