Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Numeric values in a combobox list
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00676367
Message ID:
00676374
Vues:
15
>I have a combobox, which controlsource is a numeric table field, the rowsource is an one dimensional array and set to 'Arrayname' and the rowsourcetype is set to Array. The array elements are numeric like Arrayname(1)=0, Arrayname(2)=5, Arrayname(3)=10, Arrayname(4)=20, Arrayname(4)=25 etc. When I want to change the table field value I activate my combo and want to choose from the drop down list showing 0,5,10,20,25 etc. However, if I choose for example 5 the value of the combobox shows 25, i.e. the array value of the 5th array element. How do I configure the combobox so its value becomes the value of the array elements as they are shown in the list?

Try to set BoundTo property of the combobox to .T.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform