Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Running down a listbox
Message
From
25/03/2004 06:46:46
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00889225
Message ID:
00889537
Views:
23
Hi Glen.

This should work:
local i, lcValue
lcvalue = ''
for i = 1 to this.listbox.listcount
  lcValue = lcValue + this.listbox(i) + chr(13) + chr(10)
endfor


Only if the List Box's RowSource contains a single column < s >. If the RowSource has more than a single column and/or the BoundColumn is not column one, your code will break.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform