Using the CSV_Include Project > CSV_Include Reference > CSV_Include Functions > CSV_ListBox_RemoveItem

CSV_ListBox_RemoveItem

Removes item from combo box in ActiveX list object.

Note: Two options: 1) Specify both sItem AND sCategory; or 2) Set sItem = "", sCategory = "", and specify only sItemID.

Syntax

CSV_ListBox_RemoveItem(hList,sItem,sCategory,sItemID)

#hList:

Handle to list object.

#sItem:

Item to remove from list.

#sCategory:

Category of item.

#sItemID:

ID of item.

Return Value

0 if successful, otherwise -1.