DOCERR: ListIndex (OutLine) Returns -1 If No Item Is Selected (148998)
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 Q148998 SUMMARY
Visual FoxPro Help says that the return value for the ListIndex (OutLine
Control) Property is 0 if no item is selected. This is incorrect. The value
returned if no item is selected is -1. It also says that the first index
number that the ListIndex property can return is 1, which is also
incorrect. The first index number that can be returned is 0.
Modification Type: | Major | Last Reviewed: | 9/30/2003 |
---|
Keywords: | KB148998 |
---|
|