-
May someone please tell me what event trigger when a form is visually shown up ? The reason is that I want the form to be displayed before I start doing certain processing. I can't put it in Form Load or Form Activate coz' they will wait for the processing to finish before displaying the form.
Thanks.
-
Put a timer on the form and then use this code
Code:
Private Sub Timer1_Timer()
If Me.Visible Then
' Do (or call) your after-visible code here
Timer1.Interval = 0 ' Turn off the timer
End If
End Sub
-
You can also try this
Put this line in your form load:
When the form load procedure is run the form is loaded, it is just not set to visible until after the procedure finishes, so putting that line in the load will allow you to see the form whenever you want in the form load.
[Edited by Negative0 on 06-13-2000 at 03:02 PM]