Главная страница | назад





Article #16961: Reducing flicker on component redraw

 Question and Answer Database
FAQ1961D.txt Reducing flicker on component redraw
Category :VCL
Platform :All
Product :All 32 bit
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;
7/16/98 4:31:28 PM

Last Modified: 01-SEP-99