General information
Category:
Coding, syntax & commands
>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.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only