Home » Developer & Programmer » Forms » When tree node selected trigger
When tree node selected trigger [message #239146] Mon, 21 May 2007 10:01 Go to next message
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 Go to previous message
mudabbir
Messages: 235
Registered: April 2006
Location: Kuwait
Senior Member

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.
Previous Topic: Mapping of Other Values property?
Next Topic: How to include variable on block's query
Goto Forum:
  


Current Time: Fri Dec 09 19:16:59 CST 2016

Total time taken to generate the page: 0.05591 seconds