Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Slight problem adding items to a List Box
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Slight problem adding items to a List Box
Divers
Thread ID:
00210807
Message ID:
00210807
Vues:
56
This is my first use of a list box so it comes as no surprise to me that I have a problem. Houston... I have a problem...

I have a multi-column list box. I use the commands:

LOCAL pnCount, MyID, MyName, MyPhone
pnCount = 1

FOR i = 1 to 100
THISFORM.lstMyList.AddItem (MyID, pnCount, 1)
THISFORM.lstMyList.AddItem (MyName, pnCount, 2)
THISFORM.lstMyList.AddItem (MyPhone, pnCount, 3)
ENDFOR

The correct variables are going into the correct columns, but each time I do the AddItem command the item moves down one row. So I end up with a mess (with each item in the right column, but each on a row of its own). Help please? Thanks much.
Steve Kramer
Kramer & Kramer Design
"Home of Go Cartoons"
Web Site: www.stephenkramer.com
Would you believe Far Side Lite?
More than 270 original cartoons.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform