TreeView – GetDescendants Function

Returns the indices of the all the descendants of a specified item.

  trObj ’Do 'GetDescendants' inx

where inx is an integer scalar or one-element vector, the index number of the item of interest.

The result is an integer vector, the indices of all the descendants of item inx. It can be empty.

See also GetAncestors, GetChildren, GetSiblings.



Continue to: TreeView – GetFirstVisible Function
© Copyright Causeway Graphical Systems Ltd 2003