Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Populating multiple columns in listbox using Addlistitem
Message
From
23/05/2005 11:22:26
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01016743
Message ID:
01016776
Views:
11
This message has been marked as the solution to the initial question of the thread.
>I have a list box which is populated with records in column 1. How do I populate column 2 with the date for each record:
>
>i.e.
>
>Now printing generic submission 19/01/09
>
>at the moment I am populating the list box with:
>
>splash.list1.addlistitem("Now printing generic submission")
>
>How do I get the date in column 2
>
>Many Thanks


Hi Neil,

A quick example:
splash.list1.additem( "1. Now printing generic submission" )  && 1st row, 1st col
splash.list1.addlistitem( "19/01/09", 1, 2 )                  && 1st row, 2nd col

splash.list1.additem( "2. Now printing generic submission" )  && 2nd row, 1st col
splash.list1.addlistitem( "19/01/09", 2, 2 )                  && 2nd row, 2nd col
HTH
Herman
Previous
Reply
Map
View

Click here to load this message in the networking platform