Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
AddItem() method
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00081942
Message ID:
00081954
Vues:
14
>How add two column's values into ComboBox?
>
>Code:
>AddItem("xxx", 1, 1)
>AddItem("yyy", 1, 2)
>
>gives me
>| |yyy|
>|xxx| |
>
>instead
>|xxx|yyy|
>
>Thanx in advance.
>
>Giedrius
Giedrius,

AddItem cannot add two columns, you need to use AddListItem to do that;

WITH THISFORM.MyList
lnNextItem = .NewItemId + 1
.AddListItem("ABC",lnNewItem,1)
.AddListItem("DEF",lnNewItem,2)
ENDWITH

Will give you [ABC] [DEF] as two columns.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform