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

Class Browser

Former Member
0 Likes
612

Hello all!

i was reading an article on event registration and processing with custom controls on http://help.sap.com

they say that all the list of events for a control can be found in class browser in SE24, but unfortunately it doesn't show me anything, i must be doing some thing wrong. any one tell me how should i go for it.

When i display a class from SE24 i got list of all its methods and events and many things. e.g if i open events for cl_gui_simple_tree i found some events there. but there is no event like node_double_click but this event works fine with the tree i built. Can anyone tell me what magic is this, is the event list there in se24 is incomplete or what?

Zahid

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
514

Hello Zahid,

I'm able to see the event NODE_DOUBLE_CLICK for the class CL_GUI_SIMPLE_TREE.

Please see if you have the <i>Filter</i> checkbox checked. If it is, then you may not see it. Just uncheck it, and you must be able to see the event listed there.

Regards,

Anand Mandalika.

3 REPLIES 3
Read only

Former Member
0 Likes
514

Hi,

The components (methods/events/etc) of a class written in blue are the ones that have been inherited. Event node_double_click belongs to class CL_TREE_CONTROL_BASE. You can press the Detail View button in toolbar after placing cursor on a method/event. The class browser will show you the base class for that component.

Regards

Read only

Former Member
0 Likes
515

Hello Zahid,

I'm able to see the event NODE_DOUBLE_CLICK for the class CL_GUI_SIMPLE_TREE.

Please see if you have the <i>Filter</i> checkbox checked. If it is, then you may not see it. Just uncheck it, and you must be able to see the event listed there.

Regards,

Anand Mandalika.

Read only

0 Likes
514

Hello Anand!

Yes that was the problem , now i understand the whole game. Thank you.

you helped me growing my abilities to mess with SAP

Zahid