Autor Beitrag
Supernova
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 108

WinXP
D7 Prof
BeitragVerfasst: Sa 10.01.04 21:48 
Wie kann ich spassweise eine TProgressbar in 1 Minute füllen lassen, und dann eine andere Form anzeigen lassen ???

Moderiert von user profile iconPeter Lustig: Topic Verschoben
Raphael O.
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1596


VS 2013
BeitragVerfasst: Sa 10.01.04 21:51 
erstmal brauchst du einen timer...
dann stellst du das intervall z.B. auf 1000
progressbar1.max stellst du auf 60
dann kansnt du im ontimerevent folgendes machen:
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
progressbar1.position:=progressbar1.position+1;
if progressbar1.position=progressbar1.max then
begin
 form1.hide;
 form2.show;
end;
Supernova Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 108

WinXP
D7 Prof
BeitragVerfasst: Sa 10.01.04 22:06 
Wie kann ich ein Intervall stellen ?
Raphael O.
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1596


VS 2013
BeitragVerfasst: Sa 10.01.04 22:13 
ausblenden Delphi-Quelltext
1:
timer1.interval:=1000;					
Supernova Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 108

WinXP
D7 Prof
BeitragVerfasst: Sa 10.01.04 22:28 
Titel: s
Des unter Begin oder ? (habs noch nicht ausprobiert!!)
Raphael O.
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1596


VS 2013
BeitragVerfasst: Sa 10.01.04 22:31 
das kannst du schon im Objektinspektor so einstellen...
ansonsten z.B. im oncreate ereignis der form..