Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to add item into listbox manually?
Message
 
 
À
16/05/2000 09:30:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00369913
Message ID:
00369922
Vues:
20
>How can I add 2 items into a listbox with 2 columns, 1 in each column?

Try this,
    myList.RowSourceType = 0         && None
    myList.ColumnCount = 2           && 2 Columns

    myList.AddListItem("A1",1,1)     && Row 1 Col 1
    myList.AddListItem("A2",1,2)     && Row 1 Col 2
    myList.AddListItem("B1",2,1)     && Row 2 Col 1
    myList.AddListItem("B2",2,2)     && Row 2 Col 2
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform