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
KevinfeeningAsked:
Who is Participating?
 
Russell LibbyConnect With a Mentor Software Engineer, Advisory Commented:
Kevin,
If you satisfied with the answer, perhaps you would consider closing this question and awarding points?

Regards,
Russell
0
 
Russell LibbySoftware Engineer, Advisory Commented:
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

0
 
KevinfeeningAuthor Commented:
Thanks Russell worked perfectly

Regards
Kevin
0
 
kretzschmarCommented:
>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 ;-)
0
All Courses

From novice to tech pro — start learning today.