nca_tree_select_item
| Tree Object Functions |
Selects an item in a tree.
int nca_tree_select_item( LPCSTR name, LPCSTR item );| name | The logical name of the tree object. |
| item | The item to select. |
The nca_tree_select_item function selects the specified item in an Oracle NCA tree.
Return Values
Parameterization
All arguments of this function may be parameterized using standard parameterization.
Example
In the following example, nca_tree_select_item selects the Data Entry and Trip Data Entry tree nodes.
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");

