ListCount
This property tells you how many items are in a list or combo box. To our pleasant surprise, it works regardless of the method used for filling the list or combo. Usage | nItems = oObject.ListCount |
Example | * Tell the user how many choices there are WAIT WINDOW "You have " + ; LTRIM(STR(ThisForm.lstMyList.ListCount)) + ; "choices." NOWAIT |
See Also | ComboBox, For Each, ListBox, List Property, ListItem |
View Updates
Copyright © 2002 by Tamar E. Granor, Ted Roche, Doug Hennig, and Della Martin. All Rights Reserved.