Application Development 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: 

Reaction on "Click" on node of CL_GUI_SIMPLE_TREE

Former Member
0 Kudos

Hello world!

I implemented a CL_GUI_SIMPLE_TREE and a CL_GUI_TOOLBAR. There is one button in the toolbar, which should only be activated, in case a folder is selected in the tree.

How to implement that? Which event of CL_GUI_SIMPLE_TREE should I use?

Is this possible at all?

Another option would be, to check, which node is selected in the tree, when the user clicks a button in the toolbar. In case of the wrong node is selected, I would then send a message like 'Function not possible" ...

Thanks in advance!

MIKE

2 REPLIES 2

athavanraja
Active Contributor
0 Kudos

to enable single click for a node, node text should be set as type link.

then you can capture the event and act accordingly

Regards

Raja

Former Member
0 Kudos

Solved the problem on my own:

I used the event SELECTION_CHANGED ...