NextSiblingItem - TreeView
Returns the item handle for the next sibling item
Type: Property
Access: Read-Only
Data Type: Handle
Parameters: None
Parameters
| Parameter | Type | Description |
|---|---|---|
| hItem | Handle | The item handle |
Syntax
Property Handle NextSiblingItem
| Access Type | Syntax |
|---|---|
| Read Access: | Get NextSiblingItem to HandleVariable |
Description
The NextSiblingItem property returns the item handle of the next sibling item of hItem. Returns 0 if no next sibling item exists.
Sibling items are defined as items with the same parent. So, for example, if you added a parent item of Food then added two child items to it as Cake and Steak, the NextSiblingItem of Cake would be Steak; Steak does not have any next sibling, while Food does not have any siblings at all, just children.