|This property is obsolete. See the Remarks section below.|
A tree view can have several top-level items (nodes). The
wRootItem property returns the text of the root item specified by the Index parameter.
|TestObj||A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section|
The property is applied to the following object:
To view this property in the Object Browser panel and in other panels and dialogs, activate the Advanced view mode.
The property has the following parameter:
Specifies the zero-based index of the desired child item. For example, the first child item has an index of 0, the second - 1, and so on. The index of the last child item is
The text of the specified top-level item.
The property is obsolete. It is supported for backward compatibility only. It is displayed neither in the Code Completion window nor in the Object Browser. To get the text of the root item, use the
Text property of the
TreeViewItem object that provides access to the desired item.
If you use Python or DelphiScript, you should enclose the parameter of the
wRootItem property in square brackets: