Occurs when an item is inserted in the ListView.
Event ID |
Objects |
---|---|
pbm_lvninsertitem |
ListView |
Argument |
Description |
---|---|
index |
An integer that represents the index of the item being inserted into the ListView |
Long. Return code choices (specified in a RETURN statement):
0 Continue processing
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)