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