Next-Item
This property returns an item ID. The value set to the property is the item whose ID is needed. It may refer to the whole Tree-View control or to another item. Valid values, defined in isgui.def, are:
tvni-child
The first child of the item identified by the Item property is returned. If it has no children, zero is returned. This does not mean that the item cannot be expanded, an item can be expanded when its Has-Children property is set to a non-zero value.
 
MODIFY MY_TREE-VIEW,
ITEM = AnyItem
NEXT-ITEM = tvni-child GIVING FirstChildItemID
tvni-first-visible
The id of the first visible item in the Tree-View control is returned.
 
MODIFY MY_TREE-VIEW,
NEXT-ITEM = tvni-first-visible GIVING FirstVisibleItemID
tvni-next
The next sibling of the item identified by the Item property is returned. If the item identified by the Item property is the last of its level, zero is returned.
 
MODIFY MY_TREE-VIEW,
ITEM = AnyItem
NEXT-ITEM = tvni-next GIVING NextItemID
tvni-next-visible
The next visible item after the item identified by the Item property is returned. The Item property must refer to a visible item.
 
MODIFY MY_TREE-VIEW,
ITEM = AnyItem
NEXT-ITEM = tvni-next-visible GIVING NextVisibleItemID
tvni-parent
The parent of the item identified by the Item property is returned. If the item identified by the Item property is at the top level, zero is returned.
 
MODIFY MY_TREE-VIEW,
ITEM = AnyItem
NEXT-ITEM = tvni-parent GIVING ParentItemID
tvni-previous
The previous sibling of the item identified by the Item property is returned. If the item identified by the Item property is the first of its level, zero is returned.
 
MODIFY MY_TREE-VIEW,
ITEM = AnyItem
NEXT-ITEM = tvni-previous GIVING PreviousItemID
tvni-previous-visible
The previous visible item before the item identified by the Item property is returned. The Item property must refer to a visible item.
 
MODIFY MY_TREE-VIEW,
ITEM = AnyItem
NEXT-ITEM = tvni-previous-visible GIVING PreviousVisibleItemID
tvni-root
The id of the very first item in the Tree-View control is returned.
 
MODIFY MY_TREE-VIEW,
NEXT-ITEM = tvni-root GIVING RootItemID