Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Best way to implement a splash screen?
Message
 
 
À
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:
00061068
Vues:
41
One thing you can do additionally,in order to let your app fire up while the splash is showing but still let the splash show long enough to meet your advertising needs, is to take a SECONDS() measurement right after splashing, then take it again right before your READ EVENTS, and if less than X seconds has passed (where you want the splash to show for at least X seconds), then enter a delay loop until X seconds has actually passed.

>
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform