nca_tree_collapse_item
| Tree Object Functions |
Collapses a tree node.
int nca_tree_collapse_item( LPCSTR name, LPCSTR item );| name | The logical name of the tree object. |
| node | The node to collapse. |
The nca_tree_collapse_item function collapses a node in an Oracle NCA tree.
Return Values
Parameterization
The following variable can be parameterized using standard parameterization: name
Example
In the following example, nca_tree_collapse_item collapses the Main menu node in the BTREE_MENU_TREE_0 tree object.
nca_set_window("Shipping Transactions");
nca_tree_select_item("QUERY_TREE_TREE_0", "Data Entry");
nca_tree_expand_item("QUERY_TREE_TREE_0", "Data Entry");
nca_tree_activate_item("QUERY_TREE_TREE_0", "Data Entry");
nca_tree_select_item("QUERY_TREE_TREE_0", "Trip Data Entry");
nca_tree_activate_item("QUERY_TREE_TREE_0", "Trip Data Entry");
nca_tree_expand_item("BTREE_MENU_TREE_0", "Main menu");
nca_tree_collapse_item("BTREE_MENU_TREE_0", "Main menu");

