|
-
September 27th, 2002, 10:40 AM
#1
Writing Event Handler, how?
I need a handler....
I have two forms.
Lets call them FormA and FormB.
On formA I want a handler called NewRecipeLoaded..
When a certain button on FormB is pushed I want to raise an event on FormA
for NewRecipeLoaded.
I know on formB I want RaiseEvent NewRecipeLoaded.
But how do I declare this on FormA and how do I code the procedure?
Thanks for any help
-
September 30th, 2002, 02:03 AM
#2
easy...
you must call form2 from form1, then
in Form1:
in the sub you call form2:
AddHandler oForm2.button.Click, AddressOf NewRecipeLoaded
in Form2:
Public Event NewRecipeLoaded()
I know that I don't know anything
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
|