Home > Language Reference > Classes > ChoiceControl

NewIndex Property

Index of the last inserted item.

Syntax

Public Property Get NewIndex() As Integer

Remarks

The NewIndex property returns the index of the last added item. This property returns -1 when the list is empty, when one or more items are deleted or when the sort order specified by the Sorted property is modified.

System requirements

SystemMinimal versionRemarks
Palm OSPalm OS 3.0N/A