Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Startup form
Message
From
18/05/2001 16:04:24
David Fluker
NGIT - Centers For Disease Control
Decatur, Georgia, United States
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00508942
Message ID:
00508966
Views:
16
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform