Greg Hill
2008-11-15 19:41:31 UTC
I need to run a utility form(or program; which ever will work) that fills
tables with data.
I call it from function form_onOpen of a Main Menu form.
It's takes awhile to perform and I'd like to allow the user to continue
working while it runs in the background.
The utility form opens at the bottom of the screen with a progress bar.
It's running as an SDI, modeless window but it won't let me continue until
it's done.
If Glenn's suggestion is not a fit for your app, look at the timer class intables with data.
I call it from function form_onOpen of a Main Menu form.
It's takes awhile to perform and I'd like to allow the user to continue
working while it runs in the background.
The utility form opens at the bottom of the screen with a progress bar.
It's running as an SDI, modeless window but it won't let me continue until
it's done.
dBASE Help.
Also look at _app.executeMessages() and make sure you put that in your
loops, note, only use it were needed because it will slow down the loop just
a touch.
The answer depends on how intense the process is and how long you want it to
take. You can use a timer to fire a loop when you want and it is very
transparent.
Greg Hill