Share this page

# nca_tree_activate_item

Tree Object Functions

Activates an item in a tree object.

    int nca_tree_activate_item( LPCSTR name, LPCSTR item );

name | The logical name of the tree object.
item | The item to activate.

The nca_tree_activate_item function activates the specified item in an Oracle NCA tree.

## Return Values

Oracle NCA Error Codes

## Parameterization

All arguments of this function may be parameterized using standard parameterization.

## Example

In the following example, nca_tree_activate_item activates the Data Entry and Trip Data Entry options.

Copy code

    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");

Tips to improve your search results... VuGen Function Reference Version 26.1-26.3 Function Reference 26.1-26.3 All View Local Help Center View Online Help Center Version: