>I have an app that runs a scheduling process once a day when the app is
>started. I would like to display what is happening in a textbox on
>a startup form before the main screen shows. I'm having trouble
>getting the desired results. This is a compiled exe application
>with screen=off in config.fpw. Right now I have an application object
>that calls the main form. The main form is set as a top level. The startup
>form is called in the main forms init. In the init of the startup form
>I run my scheduling code. I never see my startup form though. Therefore
>there is a delay when the code is running to when the app shows causing
>confusion. I tried to run the startup code in the startup forms activate
>event but sometimes the code didn't run. Any tips?
>(using vfp5)
Joe,
Instead of running the process in the startup form, run it as a PRG or a method. At the beginning of the process instantiate your startup form and update it as the process continues. When the process is complete, release the form.
David.