ListBox.DeleteItem

ListBox.DeleteItem ( 

string ObjectName,

number Index )

Example 1

ListBox.DeleteItem("PackageList", 2);

Removes the second item from the listbox object called "PackageList."

Example 2

ListBox.DeleteItem("PackageList", -1);

Removes all items from the "PackageList" listbox object.

Example 3

ListBox.DeleteItem("PackageList", LB_ALLITEMS);

Removes all items from the "PackageList" listbox object.

See also:  Related Actions