Link to home
Start Free TrialLog in
Avatar of K Feening
K FeeningFlag for Australia

asked on

Screen Flashing

When using a timer to move labels up a screen to display names, handicaps and scores for a golf competition how do you stop the form or label flashing
Avatar of Russell Libby
Russell Libby
Flag of United States of America image

A simple (often times this will be enough) method is to set the form's DoubleBuffered property to True; a good place is in the form create.

eg:

procedure TForm1.FormCreate(Sender: TObject);
begin
  DoubleBuffered:=True;
end;

If this does not do it, then let us know (and provide further details on the app, eg the code for the timer routine)

Regards,
Russell

Avatar of K Feening

ASKER

Thanks Russell worked perfectly

Regards
Kevin
>Thanks Russell worked perfectly
you should not forget to give a grade to russell

another possibility would be to place the labels on a tpanel as background-object

well, not tested

meikl ;-)
ASKER CERTIFIED SOLUTION
Avatar of Russell Libby
Russell Libby
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial