Home > Language Reference > Classes > ChoiceControl
Clear Method
Deletes all the items in a list.
Syntax
Public Sub Clear()
Remarks
The Clear method deletes all the items in the list displayed by the control. After calling this method, the ListIndex and NewIndex properties both return the value -1. If the value of the Redraw property is True, the display is updated immediately.
You can delete an individual item using the RemoveItem method.
System requirements
| System | Minimal version | Remarks |
| Palm OS | Palm OS 3.0 | N/A |