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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

418<br />

NODE_VALUE Sets the value of the node.<br />

value The actual value you intend to pass.<br />

SET_TREE_NODE_PROPERTY examples<br />

/*<br />

** Built-in: SET_TREE_NODE_PROPERTY<br />

*/<br />

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

-- trigger to change the icon of the node clicked on.<br />

DECLARE<br />

htree ITEM;<br />

current_node FTREE.NODE;<br />

find_node FTREE.NODE;<br />

BEGIN<br />

-- Find the tree itself.<br />

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

-- Change it icon of the clicked node.<br />

-- The icon file will be located using the<br />

-- UI60_ICON environment variable in client/server<br />

-- or in the virtual directory for web deployment.<br />

Ftree.Set_Tree_Node_Property(htree, :SYSTEM.TRIGGER_NODE,<br />

Ftree.NODE_ICON, ’Open’);<br />

END;

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

Saved successfully!

Ooh no, something went wrong!