Click or drag to resize

ListView.InsertItem Method

X#
Insert a new ListViewItem object after a particular item index in the list view.

Namespace:  VO
Assembly:  VOGUIClasses (in VOGUIClasses.dll) Version: 2.21
Syntax
 VIRTUAL METHOD InsertItem(
	oListViewItem,
	nInsertAfter
) AS USUAL CLIPPER
Request Example View Source

Parameters

oListViewItem (Optional)
Type: Usual
The ListViewItem object to insert in the list view.
nInsertAfter (Optional)
Type: Usual
The position after which to insert the new item. If omitted, the new item is added as the last item.

Return Value

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