I failed to do it so I published this: http://www.b4x.com/android/forum/threads/35918
You'll have to add events to the treenode (and passing to the treepane and main), for example - keep the mouse_click for action with the node, do selection with color change with mouse_down and do the action also with mouse_up.