Information générale
Catégorie:
Conférences & événements
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
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