Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Array value
Message
De
28/01/2018 18:16:06
 
 
À
28/01/2018 13:06:00
Luis Santos
Biglevel-Soluções Informáticas, Lda
Portugal
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Network:
Windows Server 2012 R2
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01657596
Message ID:
01657601
Vues:
59
I would add the values to the combobox as follows:
thisform.combobox.AddListItem("My First Value", 100)
thisform.combobox.AddListItem("My Second Value", 200)
thisform.combobox.AddListItem("My Third Value", 300)
The above displays a value to the user (the first parameter) and the second parameter is the ListItemId. In your case assign the numeric value as the ListItemId for each item added. To get the value the user has selected, you now use:
lnUserSelectedValue = thisform.combobox.ListItemId
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform