06-12-2006 1:37 PM
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
06-12-2006 2:05 PM
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
06-12-2006 2:08 PM
Solved the problem on my own:
I used the event SELECTION_CHANGED ...