Loading screen

biderius
04-08-2003, 04:37 PM
Hallo,
i want to show a splah screen in my app while a huge database query is done. I have insertet a progressbar on this form.
If I show it non modal in a MDI Form and not as child it works,
but if I do ist like

Private Sub Form_Load()
frmWait.show
Me.Hide
getdata 'Sub for recieving Data and filling a FlexGrid
Form_Resize 'Sub for resizing
frmWait.Hide
Me.Show
End Sub

I only see the progressbar without any values. Does anybody know a solution?
Chris

Squirm
04-08-2003, 05:01 PM
Put a DoEvents after your Me.Hide line.
Also, be aware that you'll need to update the progressbar from within your getdata sub. It doesn't change on its own.

biderius
04-08-2003, 05:18 PM
WOW, thats it. thanks for the quick reply

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum