Board index » delphi » DataModule Loaded with a progress bar

DataModule Loaded with a progress bar

hello all...
i've seen in a delphi application where there is a login screen...
once the user and password is authenticated the dataModule is loaded...
but
not as normal... theres a progress bar at the bottom of the screen which
seems to show the loading process of the datamodule... how can i also
have this
progress bar!?!?!

thanx in advance :)

 

Re:DataModule Loaded with a progress bar


Quote
On Mon, 31 May 1999 12:41:18 +0200, deepak <dee...@cm.co.za> wrote:
>hello all...
>i've seen in a delphi application where there is a login screen...
>once the user and password is authenticated the dataModule is loaded...
>but
>not as normal... theres a progress bar at the bottom of the screen which
>seems to show the loading process of the datamodule... how can i also
>have this
>progress bar!?!?!

>thanx in advance :)

Use a BDE callback in a separate thread.  Try
www.borland.com/devsupport/bde

Grillix

Re:DataModule Loaded with a progress bar


Quote
> not as normal... theres a progress bar at the bottom of the screen which
> seems to show the loading process of the datamodule... how can i also
> have this
> progress bar!?!?!

It looks like manually controlled progress bar during datamodule
loading (probably placed in constructor or some initialization method).

You can achieve this effect easily if you don't let Delphi open your
data objects automatically. First you will count all data objects; then
you will adjust progress bar accordingly after every data object
initialization.

Jozef

Other Threads