Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Detecting the value of a listbox
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00521620
Message ID:
00521627
Vues:
17
This message has been marked as the solution to the initial question of the thread.
>I have a listbox which contains a row source of strings such as "String1,String2,String3,String4". It's default value is set to 1. At run time, how can I determine the value of the string? The value property always returns an integer. I am looking for a way to return the string.

ThisForm.ListBox1.List(ThisForm.ListBox1.ListIndex) will do it
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform