11.01.2013 Views

Oracle Forms Developer – Form Builder Reference, Volume 1

Oracle Forms Developer – Form Builder Reference, Volume 1

Oracle Forms Developer – Form Builder Reference, Volume 1

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

** Built-in: GET_TREE_NODE_PROPERTY<br />

*/<br />

-- This code could be used in a WHEN-TREE-NODE-SELECTED<br />

-- trigger to return the value of the node that was<br />

-- clicked on.<br />

DECLARE<br />

htree ITEM;<br />

node_value VARCHAR2(100);<br />

BEGIN<br />

-- Find the tree itself.<br />

htree := Find_Item(’tree_block.htree3’);<br />

-- Find the value of the node clicked on.<br />

node_value := Ftree.Get_Tree_Node_Property(htree,<br />

:SYSTEM.TRIGGER_NODE, Ftree.NODE_VALUE);<br />

...<br />

END;<br />

227

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!