Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Additem and multi-column list boxes
Message
From
12/09/1999 19:17:45
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Additem and multi-column list boxes
Miscellaneous
Thread ID:
00263843
Message ID:
00263843
Views:
81
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.
Next
Reply
Map
View

Click here to load this message in the networking platform