Home > Language Reference > Classes > ChoiceControl

RemoveItem Method

Deletes an item.

Syntax

Public Sub RemoveItem(ByVal iIndex As Integer)

ParameterDescription
iIndexIndex 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

SystemMinimal versionRemarks
Palm OSPalm OS 3.0N/A