🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.pascal.delphi.misc
Article #604

Re: Delphi Application Startup Problem!

#604
From: Peter Haas
Date: Wed, 17 Sep 1997 00:00
32 lines
1984 bytes
Hello,

Meine English-Kenntnisse beziehen sich nur aufs lesen deshalb in
deutsch:
Zum sofortigen Anzeigen in einer Procedure Refresh aufrufen =>

 procedure TMainForm.FormCreate(Sender: TObject);
 begin
   // Draw form and it's contents here
   StatusBar.SimpleText := 'Step 1 of 3: Loading data';
-> StatusBar.Refresh;
   LoadData;
   StatusBar.SimpleText := 'Step 2 of 3: Gathering information';
-> StatusBar.Refresh;
   GatherInfo;
   StatusBar.SimpleText := 'Step 3 of 3: Initializing everything';
-> StatusBar.Refresh;
   InitializeMyData;
 end;

J�rgen H�gglund schrieb:
> I hope there is someone out there who can help me with this problem.
> I want to show event/progress of initialization in my main form's
> statusbar.

> Well, I hope You get the idea.
> What's so frustrating is that I can't get my form to show before I
> start executing my initialization code, so the result will be that
> StatusBar shows 'Step 3 of 3:...' and all my code is already run.

By Peter
Technical Details
Message-ID: <5vpk47$98p$1@news02.btx.dtag.de>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <34201197.69F44A4A@algonet.se>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: fd817,df99f0a9e5794c31
X-Google-Attributes: gidfd817,public
X-Google-Thread: f973d,df99f0a9e5794c31
X-Google-Attributes: gidf973d,public
X-Google-Thread: 108b0b,df99f0a9e5794c31
X-Google-Attributes: gid108b0b,public
X-Google-Thread: 10baee,df99f0a9e5794c31
X-Google-Attributes: gid10baee,public
X-Google-Thread: 10a7f1,df99f0a9e5794c31
X-Google-Attributes: gid10a7f1,public
From: PeterJHaas@t-online.de (Peter Haas)
Subject: Re: Delphi Application Startup Problem!
Date: 1997/09/17
Message-ID: <5vpk47$98p$1@news02.btx.dtag.de>
X-Deja-AN: 274263496
References: <34201197.69F44A4A@algonet.se>
X-Priority: 3 (Normal)
To: "J�rgen H�gglund" <dataswed@algonet.se>
X-Sender: 03915610819-0001@t-online.de (Peter Haas)
Organization: Telekom Online Internet Gateway
Newsgroups: comp.lang.pascal.delphi.misc,de.comp.lang.pascal.delphi,cern.delphi.general,alt.comp.lang.borland-delphi,alt.lang.delphi