Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

reg. OOPs_____have ur points.

Former Member
0 Likes
371

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

1 ACCEPTED SOLUTION
Read only

varma_narayana
Active Contributor
0 Likes
352

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>

2 REPLIES 2
Read only

Former Member
0 Likes
352

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

Read only

varma_narayana
Active Contributor
0 Likes
353

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>