Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I reference arbitrary items in a combobox list?
Message
From
02/08/1999 19:31:39
 
 
To
02/08/1999 16:18:00
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00248995
Message ID:
00249072
Views:
22
>I have a combobox whose rowsource is a table field. I need to be able to check to see whether or not adjacent members of the resulting list contain identical values, but I'm not sure how to reference these items. I know that I could move forward and backward in the source table itself, but that's a little cumbersome. Surely there is a way to access the memory object kept by VFP to store the elements of the list, even when they are derived from a table?

The listitem[] collection is available even when the rowsource is an alias.

?Combo.ListItem(10)

wil display the text of he 10th item in the list without moving the record pointer.
Erik Moore
Clientelligence
Previous
Reply
Map
View

Click here to load this message in the networking platform