Example: nca_tree_collapse_item
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");