Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I reference arbitrary items in a combobox list?
Message
De
02/08/1999 19:31:39
 
 
À
02/08/1999 16:18:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00248995
Message ID:
00249072
Vues:
23
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform