‎2007 Sep 06 5:19 AM
Hi all,
In SE24, I m making classes,i took an event there named "myevent". But when i m using it in my method, there it is not visible...system giving me error...that it is not existing...
Pleas assist me..
<b>Have ur points.</b>
Regards,
pradeep phogat
‎2007 Sep 06 5:29 AM
Hi Pradeep..
When you define an Event in a Class , you have to Define the Method to handle the Event.
So to define the method as Event handler method.
Put the Cursor on the Method:
Select the <b>Detail view</b> icon. (Which is next to Exceptions and Code icons on toolbar)
There you select the Checkbox "Event Handler for". Enter the Class name and Event Name.
Then you can make it...
<b>Reward if Helpful.</b>
‎2007 Sep 06 5:24 AM
Can please give more details :
1) Are the event and method in the same class.
2) Have you activated your class before trying to use the event in the method ?
3) What is the exact error the system shows ?
Regards,
Srihari
‎2007 Sep 06 5:29 AM
Hi Pradeep..
When you define an Event in a Class , you have to Define the Method to handle the Event.
So to define the method as Event handler method.
Put the Cursor on the Method:
Select the <b>Detail view</b> icon. (Which is next to Exceptions and Code icons on toolbar)
There you select the Checkbox "Event Handler for". Enter the Class name and Event Name.
Then you can make it...
<b>Reward if Helpful.</b>