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


Return Values

Long.

Return code choices (specified in a RETURN statement):

0 -- Continue processing

Examples

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

DeleteItem