Example: nca_tree_activate_item

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

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