Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Listbox
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00177457
Message ID:
00177465
Vues:
36
Hi Mark!

You were close. I believe what you want is something like:

ThisForm.LstListItem.AddItem('123', Y, 1)
ThisForm.LstListItem.AddItem('456', Y, 2)

Where Y is the row number your working with.

To add to the bottom of the list you could use:

ThisForm.LstListItem.AddItem('123', ThisForm.LstListItem.ListCount + 1, 1)
ThisForm.LstListItem.AddItem('456', ThisForm.LstListItem.ListCount, 2)

>I am additing items to listbox:
>ThisForm.LstList.AddItem('123', 1)
>ThisForm.LstList.AddItem('456', 2)
>I'd like to have one row with data in two columns but I have two rows with data in a first column only. What am I doing wrong?
>Thanks Mark
kenweber
GCom2 Solutions
Microsoft Certified Professional

Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform