Einzelnen Beitrag anzeigen

delphineuling88

Registriert seit: 18. Mär 2006
23 Beiträge
 
#4

Re: Countdownfortschritt mit Progressbar darstellen?

  Alt 19. Mär 2006, 14:35
jetzt sieht es so aus bricht aber ab wen ich es ausführen will

Delphi-Quellcode:
max:= 0;
    max:= StrToInt(copy(edit5.Text,1,2)) * 3600;
    max:= max + StrToInt(copy(edit5.Text,4,2)) * 60;
    progressbar1.Max:= max + StrToInt(copy(edit5.Text,7,2));
    max:= 0;
    max:= StrToInt(copy(label8.caption,1,2)) * 3600;
    max:= max + StrToInt(copy(label8.caption,4,2)) * 60;
    progressbar1.position:= max + StrToInt(copy(label8.caption,7,2));
  Mit Zitat antworten Zitat