Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Startup form
Message
De
18/05/2001 16:04:24
David Fluker
NGIT - Centers For Disease Control
Decatur, Georgie, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00508942
Message ID:
00508966
Vues:
15
>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform