Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ComboBoxes and Arrays
Message
De
09/06/1999 13:07:04
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00227332
Message ID:
00227991
Vues:
23
There is a property called boundcolumn. Setting it will make the combobox.value corrispond to the array column you set. The display value of a combo box is always the first column of the array.

so....
if you have an array like this

bob 102
rog 103
pat 104


you would set the boundcolumn to 2.
then combobox.value will give you the id and the combobox.displayvlaue will give you the name.
Sigfried Trent, aka FoxMan
(Working from his secret code cave, FoxMan battles the forces of darkness lead by the deranged and mysterious Bug Boy)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform