Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How t o Add Item to multicolumn COMBOBOX
Message
De
14/10/1998 09:53:24
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00146539
Message ID:
00146611
Vues:
30
When you additem to a list, you have added the whole row. IOW, after the first additem, you have got both columns available. So, all you need to do is something like the following:


myCombo.AddItem("FirstCol Item",1)
myCombo.list( myCombo.listIndex,2) = "SecondCol Item"
/pre>

You'll want to check the syntax--I've only had 2 cups of coffee this morning ;-)

>myCombo.AddItem("FirstCol Item",1)
>myCombo.AddItem("SecondCol Item",2)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform