Description
Collapses tree item pointed to by the path. IDC means id of parent Tree View.
Syntax
Syntax 1
tvCollapse [idc, path]
Parameters:
idc: Numberpath: Tree View Path - [] will collapse the whole tree and it will disappear
Returns: Nothing
Syntax 2
control tvCollapse path
Parameters:
control: Controlpath: Tree View Path - [] will collapse the whole tree and it will disappear
Returns: Nothing
Examples
Example 1
tvCollapse [101, [0]];
Example 2
_ctrl tvCollapse [0];
See also
tvCollapseAll · tvAdd · tvClear · tvCount · tvCurSel · tvData · tvDelete · tvExpand · tvPicture · tvSetCurSel · tvSetData · tvSetPicture · tvSetValue · tvSort · tvSortByValue · tvText · tvValue