Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Best way to implement a splash screen?
Message
De
18/11/1997 13:23:18
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Conférences & événements
Divers
Thread ID:
00060913
Message ID:
00060976
Vues:
37
>I have gone through the process of creating a form as a splash screen -- set it as Top Level Form removed the title bar, etc. In my CONFIG.FPW I have SCREEN=OFF so the user doesn't see the the setup. I want this to stay the same but have the splash screen visible while this is occuring and then release it. What is the best way to implement this?


Colin,

I have created a splash screen for our VFP applications. I basically set the form properties like you did so
no title bar appears ect... Then after the application has created all of it's VARs and SETs, I release the
form right before the READ EVENTS command.

I turned this into a class object and place it into my code like this;

***Main.prg
***Splash screen.
o_splash = CREATEOBJ('csplash')
o_splash.SHOW()

***Place setup code here. Menus, Vars, SETs, ect...

RELEASE o_splash
READ EVENTS

Hope this helps,

Jerryt
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform