AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

ProgressBar auf splashform

Ein Thema von khh · begonnen am 14. Apr 2009 · letzter Beitrag vom 15. Apr 2009
Antwort Antwort
Benutzerbild von hincapie
hincapie

Registriert seit: 24. Mär 2005
200 Beiträge
 
Delphi 5 Professional
 
#1

Re: ProgressBar auf splashform

  Alt 15. Apr 2009, 07:39
Kleiner zusätzlicher Denkanstoß:
Wie wäre es mit der Methode "Update"?

Ich mache das bei den SplashForms immer so:
Delphi-Quellcode:
procedure TForm13.ShowNextStep(iPercent: integer);
begin
  Progressbar1.Position := iPercent;
  Update;
end;
In der dpr-Datei wird dann lediglich bis 100% hochgezählt, z. B. so:

Delphi-Quellcode:
   Application.Initialize;
   Application.CreateForm(TForm13, Form13); //-> Splashform
   Form13.Show;
   Form13.ShowNextStep(25);
   Application.CreateForm(TForm2, Form2);
   ...
   Form13.ShowNextStep(40);
   Application.CreateForm(TForm18, Form18);
   ....
   Form13.ShowNextStep(90);
   Form13.Close;
   Application.Run;
  Mit Zitat antworten Zitat
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 14:44 Uhr.
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz