Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Best way to implement a splash screen?
Message
 
 
To
18/11/1997 13:23:18
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, United States
General information
Forum:
Visual FoxPro
Category:
Conferences & events
Miscellaneous
Thread ID:
00060913
Message ID:
00061068
Views:
39
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
Previous
Reply
Map
View

Click here to load this message in the networking platform