sopheak
asked on
Easy question
How do I get a form to load in the background. i.e. I have a splashscreen (frmSplash) that loads first and want another form (frmMain) to load in the background. After frmMain finishes loading the it shows itself and closes the splashscreen.
thanks
thanks
ASKER
How do I get frmMain to load in the background,(or hidden when it is loading)?
Hi
frmMain.Load - load form (not display)
frmMain.Show - (display form. If not loaded then load it)
Cheers
frmMain.Load - load form (not display)
frmMain.Show - (display form. If not loaded then load it)
Cheers
frmMain won't show until the Form_Activate event - it is hidden during Form_Load. Put all of your startup code in Form_Load.
ASKER
Ark
I put in frmMain.load and I get a method or data member not found. Am I missing something?
I put in frmMain.load and I get a method or data member not found. Am I missing something?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thanks
frmSplash.Show
frmSplash.Refresh
at the top. Then, when the form is loaded and ready to go, just add:
frmSplash.Unload
That should do it