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

triggering toolbar button action in docking container

Former Member
0 Likes
635

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

2 REPLIES 2
Read only

Former Member
0 Likes
466

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.

Read only

Former Member
0 Likes
466

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.