Skip to Content
Former Member
Jun 12, 2006 at 12:37 PM

Reaction on "Click" on node of CL_GUI_SIMPLE_TREE


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!