Information générale
Catégorie:
Codage, syntaxe et commandes
>>>I want to create a splash screen for an application I'm working on. The app has Screen=Off in Config.fpw and VFP isn't visible until _Vfp.Visible is set to .T.
>>>
>>>So how do I correctly create and run a splash screen?
>>
>>Yourexe.exe -Byoursplash.gif
>>
>>Also check the Splash screen foundation class.
>
>I mean how do you control the splash EXE from within the app EXE? At some point the splash screen should go away/
You can use an as-top-level form/class and then Show() it at the beginning of your project's "main.prg".
After the Show() there would be no Read Events but your long-lasting setup code.
And when it's done, you'd Hide() or Release() the splashscreen form followed by yourActualMainForm.Show() + Read Events.
hth
-Stefan
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement