The DeleteItem event has different arguments for different objects:
Description
Occurs when an item is deleted.
Event ID
Arguments
Return Values
Long.
Return code choices (specify in a RETURN statement):
0 -- Continue processing
Examples
This example for the DeleteItem event displays a message with the number of the deleted item:
MessageBox("Message", "Item " + String(index) & + " deleted.")
See also
Description
Occurs when an item is deleted.
Event ID
Arguments
Return Values
Long.
Return code choices (specify in a RETURN statement):
0 -- Continue processing
Examples
This example displays the name of the deleted item in a message:
TreeViewItem ll_tvi This.GetItem(handle, ll_tvi) MessageBox("Message", String(ll_tvi.Label) & + " has been deleted.")