Click or drag to resize

TreeView.InsertItem Method

X#
Insert a new tree view item as a child of a specified item and after a specified item in the tree view.

Namespace:  VO
Assembly:  VOGUIClasses (in VOGUIClasses.dll) Version: 2.19
Syntax
 VIRTUAL METHOD InsertItem(
	symParentName,
	symInsertAfter,
	oTreeViewItem
) AS USUAL CLIPPER
Request Example View Source

Parameters

symParentName (Optional)
Type: Usual
The symbolic name of the parent tree view item of the new item. This can be the symbolic name of any tree view item or one of the following items: #Root, #First, #Last, and, if the tree view style is sorted, #Sort.
symInsertAfter (Optional)
Type: Usual
The symbolic name of the tree view item after which the new item should be inserted. This can be the symbolic name of any tree view item or one of the following items: #Root, #First, #Last, and, if the tree view style is sorted, #Sort.
oTreeViewItem (Optional)
Type: Usual
The tree view item to insert.

Return Value

Type: Usual
TRUE if the item was inserted successfully; otherwise, FALSE.
See Also