Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Running down a listbox
Message
De
24/03/2004 11:21:56
 
 
À
24/03/2004 09:25:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00889225
Message ID:
00889291
Vues:
19
Hi Hurt.

I have the following code :

cText=""
FOR iCounter = 1 TO ThisForm.lbxListbox.ListCount
ThisForm.lbxListbox.listindex=iCounter
cText=cText + alltrim(ThisForm.lbxListbox.value) + CHR(13)
ENDFOR


Ammend the code as follows:
cText = ''
WITH ThisForm.lbxListbox
  FOR iCounter = 1 TO .ListCount
   cText = cText + ALLTRIM( .List[ iCounter, .BoundColumn ] )
  ENDFOR
ENDWITH
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform