Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Save, print and email list box contents
Message
 
À
14/07/2004 22:09:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00924488
Message ID:
00925928
Vues:
24
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform