Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Running down a listbox
Message
From
24/03/2004 20:51:15
 
 
To
24/03/2004 09:25:08
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00889225
Message ID:
00889473
Views:
20
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform