Next
Next
Get next item object
Read-only Runtime-only OBJECT reference property
Applies to: ListItem , TreeItem
Introduced in KCML version 5.03
Next
Get index of next sibling
Read-only Runtime-only Integer property
Applies to: TreeItem
Introduced in KCML version 5.02
This property returns an object reference for the next entry in a listbox. It will be NULL if there are no further items. The first item can be found by using the First object on the listbox control e.g.
count = 0 OBJECT c = .listControl1.First WHILE OBJECT c <> NULL DO count++ OBJECT c = c.Next WEND
TreeItem
This property returns the next sibling of a given tree node. A sibling is a node at the same level in the tree i.e. it shares the same parent node. The property can be applied to either an object reference to an existing tree node or the Item() method and an Index. It returns an index which will be zero if there are no further siblings. The property allows a program to traverse across a given level in the tree.
ChildIndex = .treeControl1.Item(ChildIndex).Next
The Level property can be used to find the current level in a tree. All siblings share the same level.
The Next property can also be used to return an object.
TreeItem
This property returns an object reference for the next sibling of a given tree node. A sibling is a node at the same level in the tree i.e. it shares the same parent node. The property can be used in conjunction with either an object reference to an existing tree node or the Item() method and an Index. It returns an object which will be NULL if there are no further siblings. The property allows a program to traverse across a given level in the tree.
OBJECT c = c.Next
The Level property can be used to find the current level in a tree. All siblings share the same level.