Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Additem and multi-column list boxes
Message
From
12/09/1999 20:05:37
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00263843
Message ID:
00263846
Views:
28
>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
Map
View

Click here to load this message in the networking platform