Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Additem and multi-column list boxes
Message
De
12/09/1999 19:17:45
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Additem and multi-column list boxes
Divers
Thread ID:
00263843
Message ID:
00263843
Vues:
80
I need to find an example of adding items to a multi-column listbox using the AddItem() Method.

I've tried similar to the following code.
************************************************************
** AryTeam is a 20,6 array.
FOR pnrow = 1 TO ALEN(aryTeam,1)

For pncol = 1 TO ALEN(aryTeam,2)
**** Item to Add, list Index, list column
Thisform.lstTeams.AddItem(aryTeam[pnrow,pncol],lnloop,pncol)
EndFor
EndFor

**********************************************************
I have left the list Index blank, set to .F., set .T. but I get errors.

Does anyone have a code fragment at I could see?

Thanx.
Fred Lauckner

You know, it works on my computer. I don't know what your problem is.

.Net aint so bad.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform