Home > Language Reference > Classes > ChoiceControl
RemoveItem Method
Deletes an item.
Syntax
Public Sub RemoveItem(ByVal iIndex As Integer)
| Parameter | Description |
| iIndex | Index of the item to be removed. |
Remarks
The RemoveItem method removes the item specified from the list displayed in the control. The index of the first item is zero, whilst the last item is ListCount -1. If the value of the Redraw property is set to True, the display is updated immediately.
You can delete all the items in a list using the Clear method.
System requirements
| System | Minimal version | Remarks |
| Palm OS | Palm OS 3.0 | N/A |