Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Listbox
Message
 
 
À
18/01/1999 22:35:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00177457
Message ID:
00177468
Vues:
42
Mark,

I don't use AddItem, normally I use an array property. But generating a quick form, dropping a lst on it, setting ColumnCount=2, ColumnWitdh=100,100 then running the form and playing in the command window:

x=lstaddlistitem.list1
x.additem( "col1, row1", 1 )
x.addlistitem( "col2, row1", 1, 2 )
x.additem( "col1, row2", 2 )
x.addlistitem( "col2, row2", 2, 2 )

>That was quick! But ..
>ThisForm.LstList.AddListItem('123', 1)
>ThisForm.LstList.AddListItem('456', 2)
>still puts data into the first column only.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform