‎2005 Mar 10 7:25 AM
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
‎2005 Mar 10 7:46 AM
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.
‎2005 Mar 10 7:40 AM
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
‎2005 Mar 10 7:46 AM
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.
‎2005 Mar 10 7:53 AM
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