Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to get values from all columns of combobox?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00081592
Message ID:
00081691
Vues:
19
>>>I have a combobox with RowSourceType=0 and 4 columns. I populate the combo using AddListItem(). What I want to be able to do is, when an item is selected, column1 value shows in combo and columns 2-4 show in 3 following textboxes respectively. Any ideas? TIA
>>
>>You can use the combo list property:
>>
>>text1.value = combo.list(1,3), for example, in combo click...
>
>More generically, I should add,
>
>text1.value = this.list(this.listitemid,ncol) in combo click

Bruce, do you know about awful Combo.Listitemid problem? It happens to disappear if you open the combo, highlight new item and mouse click outside the combo.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform