Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Best way to implement a splash screen?
Message
From
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:
00060976
Views:
33
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform