Previous Up Next

_SETtreeItemState
Change the state of an item.

ObjTree _SETtreeItemState (
ObjTree _tree_
ObjTreeItem _item_
I _state_
)
Parameters

_tree_
any tree object
_item_
any tree item
_state_
0 to close, 1 to open (no effect when item has no child)
Return value

same tree object