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.

ADD_TREE_NODE built-in<br />

Description<br />

Adds a data element to a hierarchical tree item.<br />

Syntax<br />

FUNCTION ADD_TREE_NODE<br />

(item_name VARCHAR2,<br />

node FTREE.NODE,<br />

offset_type NUMBER,<br />

offset NUMBER,<br />

state NUMBER,<br />

label VARCHAR2,<br />

icon VARCHAR2,<br />

value VARCHAR2);<br />

FUNCTION ADD_TREE_NODE<br />

(item_id ITEM,<br />

node FTREE.NODE,<br />

offset_type NUMBER,<br />

offset NUMBER,<br />

state NUMBER,<br />

label VARCHAR2,<br />

icon VARCHAR2,<br />

value VARCHAR2);<br />

Built-in Type unrestricted procedure<br />

Returns NODE<br />

Enter Query Mode no<br />

Parameters<br />

item_name Specifies the name of the object created at design time.<br />

The data type of the name is VARCHAR2 string.<br />

Item_id Specifies the unique ID that <strong>Form</strong> <strong>Builder</strong> assigns to the<br />

item when created. Use the FIND_ITEM built-in to<br />

return the ID to an appropriately typed variable. The<br />

data type of the ID is ITEM.<br />

node Specifies a valid node.<br />

offset_type Specifies the type of offset for the node. Possible values<br />

are:<br />

PARENT_OFFSET<br />

SIBLING_OFFSET<br />

offset Indicates the position of the new node.<br />

19

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

Saved successfully!

Ooh no, something went wrong!