|
-
Oct 27th, 2007, 02:51 PM
#1
Thread Starter
Lively Member
[RESOLVED] [2005] form load event not being executed
I have 2 forms, form2 is loaded by a call in form 1 to the show method. Form2 loads but a lot of the code is not being executed including the load event. If I add a click event it executes?
-
Oct 27th, 2007, 03:19 PM
#2
Thread Starter
Lively Member
Re: [2005] form load event not being executed
Found solution on thescripts.com. I must of accidentally screwed up the event handlers, probably by cutting and pasting.
Followed this and resolved:
The simplest solution is to
1) remove your load handler.
2) Double click on the form body to add a new load handler - with the
correct event/handler assoc.
3) copy the code from your routine to the new one
-
Oct 28th, 2007, 06:00 AM
#3
Re: [RESOLVED] [2005] form load event not being executed
No, the simplest solution is to just add "Handles Me.Load" to the end of the method declaration.
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
|