Home » Developer & Programmer » Forms » Problem With Trigger WHEN-TREE-NODE-SELECTED
icon9.gif  Problem With Trigger WHEN-TREE-NODE-SELECTED [message #275516] Sun, 21 October 2007 00:19 Go to next message
ZZTOP2005
Messages: 31
Registered: August 2007
Member
hi
When I click on a node on tree,trigger 'WHEN-TREE-NODE-SELECTED'
make run 2 time.
simlpy i use a global variable and when click on node of tree
this trigger add one value to last value of global variable.
in evry 1 click,this varibla add 2 value on it!!!
why this happend?or who can prevent on it for run 1 time?

Re: Problem With Trigger WHEN-TREE-NODE-SELECTED [message #275531 is a reply to message #275516] Sun, 21 October 2007 03:14 Go to previous messageGo to next message
alijeyan
Messages: 180
Registered: January 2007
Location: IRAN
Senior Member

Hi

Please Read The Help under 'WHEN_TREE_NODE_SELECT" !!!!

This trigger Fires when a node is SELECTED or DESELECTED .

when user select a node , another node is DESELECT that is :

first fire when old node DESELECT .
second fire when new NODE SELECT .


ALI
Re: Problem With Trigger WHEN-TREE-NODE-SELECTED [message #275532 is a reply to message #275531] Sun, 21 October 2007 03:24 Go to previous messageGo to next message
ZZTOP2005
Messages: 31
Registered: August 2007
Member
Thank's Mr ALI
I Try It an tell to you later
Re: Problem With Trigger WHEN-TREE-NODE-SELECTED [message #275535 is a reply to message #275532] Sun, 21 October 2007 03:46 Go to previous messageGo to next message
alijeyan
Messages: 180
Registered: January 2007
Location: IRAN
Senior Member
Good Luck

Can a question Where Are U ?
Re: Problem With Trigger WHEN-TREE-NODE-SELECTED [message #275537 is a reply to message #275516] Sun, 21 October 2007 03:55 Go to previous messageGo to next message
Arju
Messages: 1554
Registered: June 2007
Location: Dhaka,Bangladesh. Mobile:...
Senior Member

Please, don't report message to a moderator by silly one.
Re: Problem With Trigger WHEN-TREE-NODE-SELECTED [message #275539 is a reply to message #275537] Sun, 21 October 2007 05:47 Go to previous messageGo to next message
ZZTOP2005
Messages: 31
Registered: August 2007
Member
Hi Mr alijeyan
trigger on a tree dosen't 'WHEN_TREE_NODE_DESELECTED"!!
your mean is i write this trigger ?
for your notice my i work with developer 6i

[Updated on: Sun, 21 October 2007 05:49]

Report message to a moderator

Re: Problem With Trigger WHEN-TREE-NODE-SELECTED [message #276190 is a reply to message #275539] Wed, 24 October 2007 05:52 Go to previous messageGo to next message
alijeyan
Messages: 180
Registered: January 2007
Location: IRAN
Senior Member
Hi ZZTOP2005 !!!

NNNNOOOOO !
There is not Trigger 'WHEN_TREE_NODE_DESELECT ' !!!!

shoma gofteh boodi ke 2 bar Trigger 'WHEN_TREE_NODE_SELECT'
Fire Mishe ? man ham dalile oon ro goftam ke in trigger dar 2
halat Fire mishe : vaghti ye NODE ro SELECT konid dar vaghe TRIGGER ye bar vase SELECT node va ye bar vase DESELECT Node ghabli ke SELECT boodeh ejra mishe .

hich rahi ham vojod nadareh ke ye bar Fire beshe ! agar ham dareh man balad nistam va chizi be zehnam nemireseh .

rasti az koja fahmidid ke man AB_O_FAZELAB hastam ??!!!

ALI
Re: Problem With Trigger WHEN-TREE-NODE-SELECTED [message #276583 is a reply to message #276190] Thu, 25 October 2007 09:50 Go to previous message
oraajt
Messages: 2
Registered: June 2006
Junior Member
You will have to put in logic like this,

IF tree.node='SELECTED' THEN
do_my_stuff;
END IF;
Previous Topic: how to create a calendar?
Next Topic: changing item color dynamically
Goto Forum:
  


Current Time: Tue Dec 06 02:37:46 CST 2016

Total time taken to generate the page: 0.08273 seconds