|
-
May 30th, 2001, 07:56 AM
#1
Thread Starter
Frenzied Member
Running code after form load
How can I execute code after form load is finished and the form is visible.
-
May 30th, 2001, 08:30 AM
#2
PowerPoster
In the form_Activate maybe? I don't have VB in front of me so it's just an educated guess....
Gentile or Jew,
O you who turn the wheel and look to windward,
Consider Phlebas, who was once handsome and tall as you...
-
May 30th, 2001, 09:14 AM
#3
Thread Starter
Frenzied Member
But i dont wabt to execute the code every time the form activates.
-
May 30th, 2001, 09:20 AM
#4
Well, if you call the .Show method of the form in the load event, it will display the form before running anything else. You may want to add a DoEvents after calling show, though.
-
May 30th, 2001, 09:26 AM
#5
Thread Starter
Frenzied Member
Thank you
yasher kochachem ich hob es nisht gevist
-
May 30th, 2001, 09:27 AM
#6
-
May 31st, 2001, 09:06 PM
#7
Addicted Member
Sub Form_Load()
....Other code here
Me.Show
Call MySub
End Sub
-
May 31st, 2001, 10:04 PM
#8
Thread Starter
Frenzied Member
But why cant the user click anything till the end sub of form load executes
-
Jun 1st, 2001, 07:05 AM
#9
Originally posted by spetnik
Well, if you call the .Show method of the form in the load event, it will display the form before running anything else. You may want to add a DoEvents after calling show, though.
Do I hear an echo???
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|