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.