Autor Beitrag
jamirogweih
Hält's aus hier
Beiträge: 4



BeitragVerfasst: So 18.05.03 10:56 
hallo,
ich hab eine for-schleife erstellt, in der nacheinander verschiedenen datein verschoben werden.
wie kann ich diesen prozess in einer progressbar anzeigen lassen??
vielen dank
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: So 18.05.03 10:59 
die anzahl der datein schreibst du in die MAX eigenschaft der Progressbar: progressbar1.Max := anzahl;
und die datei die nummer der datei die du grad kopierst schribst du in die position eigenschaft: progressbar1.Position := datei;

_________________
In the beginning was the word.
And the word was content-type: text/plain.
Christian S.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 20451
Erhaltene Danke: 2264

Win 10
C# (VS 2019)
BeitragVerfasst: So 18.05.03 11:08 
Eventuell solltest Du, nachdem ProgressBar.Position gesetzt wurde, noch den Befehl "Application.ProcessMessages" aufrufen.

_________________
Zwei Worte werden Dir im Leben viele Türen öffnen - "ziehen" und "drücken".
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: So 18.05.03 17:08 
also ich hab die erfahrung gemacht, dass das bei ner progressbar nicht nötig ist. warum weiss ich nicht.

_________________
In the beginning was the word.
And the word was content-type: text/plain.
Christian S.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 20451
Erhaltene Danke: 2264

Win 10
C# (VS 2019)
BeitragVerfasst: So 18.05.03 17:11 
Oh, na gut. Wenn es ohne funktioniert, prima. Wenn nicht, weiß er ja jetzt, wie er es lösen kann.

MfG,
Peter

_________________
Zwei Worte werden Dir im Leben viele Türen öffnen - "ziehen" und "drücken".