amielDorel
asked on
How to reduce flickering while updating Font or images in Delphi.
How to reduce flickering while updating Font or images in Delphi.
Form1.DoubleBuffered := True;
Form1.ControlStyle := Form1.ControlStyle + [ csOpaque ];
Form1.ControlStyle := Form1.ControlStyle + [ csOpaque ];
you can try
yourForm.invalidate;
or
yourComponent.invalidate;
yourForm.invalidate;
or
yourComponent.invalidate;
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
if you read at the delphi documentation, invalidate is used to fully repaint form/component without flickering.
I use it all the time
I use it all the time
Im no expert but im sure that this answer belongs to [ ioannisa ]
procedure TForm1.FormCreate(Sender: TObject);
begin
form1.DoubleBuffered := true;
end;
That might work :P