Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Save, print and email list box contents
Message
 
To
14/07/2004 22:09:50
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00924488
Message ID:
00925928
Views:
25
You will have to loop through all items and write your own code. Here is an example of how you can build one string containing all items in the list box.
LOCAL loListBox as ListBox, lnI, lcAllItem

lcAllItem = ""

FOR lnI = 1 TO loListBox.ListCount 
	*-- Each Item
	lcItem = loListBox.ListItem(lnI)
	lcAllItem = lcAllItem + lcItem + CHR(13) + CHR(10)
NEXT
>how do i save, print and email the contents of a list box?
- Jayesh
Previous
Reply
Map
View

Click here to load this message in the networking platform