TreeView – GetItemDepth Function

Returns the depth of one or more items in the control.

  trObj ’Do 'GetItemDepth' 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 depth of each item. Where an element of inx points to a non-existent item, the corresponding element of the result contains ¯1.



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