‎2011 Sep 22 8:03 AM
I have a toolbar in a docking container split into two containers. The upper container has two buttons and lower container has a simple tree in it. The tool bar has two buttons expand and collapse the tree. How do I generate events for these buttons?
Edited by: Harish D.V. on Sep 22, 2011 9:04 AM
‎2011 Sep 23 3:03 PM
Hi,
I suppose you used the CL_GUI_TOOLBAR class to create your toolbar.
So you just need to handle an event such as ON_FUNCTION_SELECTED in some local class...
Kr,
m.
‎2011 Sep 26 12:29 PM
Hi,
Checkout these demo program : BCALV_TREE_DEMO - uses the event function_selected of cl_gui_toolbar
SALV_DEMO_TREE_EVENTS - SALV method
Hope this might help you to solve your problem.