InsertItem

Description

Occurs when an item is inserted in the ListView.

Event ID

Event ID

Objects

pbm_lvninsertitem

ListView

Arguments

Argument

Description

index

An integer that represents the index of the item being inserted into the ListView

Returns

Long. Return code choices (specified in a RETURN statement):

Examples

Example 1

This example displays the label and index of the inserted item:

ListViewItem lvi

This.GetItem(index, lvi)

sle_info.Text = "Inserted "+ String(lvi.Label) &

   + " into position " &

   + String(index)

See also