Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Splash and MDI

Status
Not open for further replies.

OOzy

Programmer
Jul 24, 2000
135
SA
Hi

I am using a mdiform. My program should show splash screen which not a mdi-child for few seconds then disapear and then loading the mdiform. The splash screen apears then disapear and the mdiform does load or apear. Can anyone help.

OOzy
 
Hello OOzy,

Try adding a Timer control to the splash screen and set the Interval property for the number of milliseconds to display the form (number of seconds * 1000).

In the handler for the Timer event, hide and then unload the splash screen.

For example:
Private Sub Timer1_Timer()
frmSplash.Hide
Unload frmSplash
End Sub


In the handler for your startup form_load event, show the splash screen.

For example:
Private Sub MDIForm_Load()
frmSplash.Show
End Sub


This worked quite well for me when I tested it.
Hope this helps,
Pete
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top