DOCERR: NewIndex Property of Lists Doesn't Work as Documented (149182)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 3.0
- Microsoft Visual FoxPro for Windows 3.0b
This article was previously published under Q149182 SUMMARY
The Help file describes the NewIndex property of the ListBox and ComboBox
controls thus:
Specifies the index of the item most recently added to a ComboBox or
ListBox control.
Then, later in the same topic, it continues:
The NewIndex property is especially useful when adding items to a
sorted list.
The NewIndex property does not work this way when new items are added to a
sorted list. If a list is not sorted, the property simply returns the
number of the last item in the list because it will always be the index of
the last item added.
Modification Type: | Major | Last Reviewed: | 9/30/2003 |
---|
Keywords: | KB149182 |
---|
|