Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How t o Add Item to multicolumn COMBOBOX
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
How t o Add Item to multicolumn COMBOBOX
Divers
Thread ID:
00146539
Message ID:
00146539
Vues:
70
Hi,
I try to create ComboBox with 2 columns, but when I use the following code:

myCombo.AddItem("FirstCol Item",1)
myCombo.AddItem("SecondCol Item",2)
I have a combo with 2 elements, but 1 column.

I try this:
myCombo.AddItem("FirstCol Item",1,1)
myCombo.AddItem("SecondCol Item",1,2)
I have a combobox with 2 elements with 2 columns where "SecondCol Item" is in second column of first element and "FirstCol Item" is in first column of second element

I try this:
myCombo.AddItem("FirstCol Item",1,1)
myCombo.AddItem("SecondCol Item",2,2)
I have a combobox with 2 elements with 2 columns where "FirstCol Item" is in first column of first element and "SecondCol Item" is in second column of second element


What I must write to take a normal 2 columns combo box.

TIA

Boris
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform