When tree node selected trigger [message #239146] |
Mon, 21 May 2007 10:01 |
dryinego
Messages: 16 Registered: May 2007
|
Junior Member |
|
|
I have a tree and i store the value of the selected tree. when i run this code:
:GLOBAL.cur_node:=Ftree.Get_Tree_Node_Property('BL_TREE.TR_VIEW',:SYSTEM.TRIGGER_NODE,Ftree.NODE_VALUE);
message(:GLOBAL.cur_node);
I get the previous selected node value first and then the current selected one.
Any ideas as to why this is happening?
Thanks
|
|
|
Re: When tree node selected trigger [message #241088 is a reply to message #239146] |
Mon, 28 May 2007 05:29 |
|
if you are using 'WHEN-TREE-SELECTED' then you will get the previous value. this is when you single click on the node.
if you are using 'WHEN-TREE-ACTIVATED' then you will get the value of the current node. this is when you double click on the node.
|
|
|