DeleteAllItems

Description

Occurs when all the items in the ListView are deleted.

Event ID

Event ID

Objects

pbm_lvndeleteallitems

ListView

Arguments

None

Returns

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

Examples

Example 1

This example uses the DeleteAllItems event to ensure that there is a default item in the ListView control:

This.AddItem("Default item", 1)

See also