Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Running down a listbox
Message
De
24/03/2004 20:51:15
 
 
À
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:
00889473
Vues:
22
This should work:
local i, lcValue
lcvalue = ''
for i = 1 to this.listbox.listcount
  lcValue = lcValue + this.listbox(i) + chr(13) + chr(10)
endfor
Glenn

>Hi,
>
>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
>
>The code works fine... the only problem i have is that when the code runs on a form the listbox scroll when the pointer is running down the listbox. Thats normal but not so clean to see for the user.
>
>Is it possible to run down the list and get the information avoiding that the listbox is scrolling down ?
>
>Thnx
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform