Autor Beitrag
Ice
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 114



BeitragVerfasst: Mi 30.07.03 10:17 
Moin Leute,

folgendes Problem beschäftigt mich und zwar möchte ich eine ProgressBar in einer Statusbar darstellen, hat da jemand ne Idee wie das funktionieren könnte?
Vielen dank im voraus!

mfg
Ice
Cyrus
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 56



BeitragVerfasst: Mi 30.07.03 10:35 
du kannst ja irgendwie definieren 50 Zeichen ist 100% und dann Proportioenal die anzahl zeichen berechnen und die Aktuelle Anzahl Zeichen gibst du dann auf die Satusbar
StatusBar1.Panels.Items[1].Text:=anzahlzeichenstring;

Greetz Cyrus

_________________
Wer glaub er ist, hört auf zu werden!
Delphi Rulez!!!
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: Mi 30.07.03 10:46 
im form create:
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
  ProgressBar1.Parent := StatusBar1;
  ProgressBar1.Top := 2;
  ProgressBar1.Left := 1;
  ProgressBar1.Align := alClient;
  progressbar1.Width := 100;

_________________
In the beginning was the word.
And the word was content-type: text/plain.
Ice Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 114



BeitragVerfasst: Mi 30.07.03 15:00 
Funktioniert prima, danke :D
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: Mi 30.07.03 16:52 
bitte bitte

_________________
In the beginning was the word.
And the word was content-type: text/plain.