Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can you select items in a listbox by value?
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00453572
Message ID:
00453604
Views:
25
You can probably try Mover ListBoxes (again, number of items could not be more than 100) or TreeView, or Grid with CheckBox. While ago I discussed this problem (may be year ago) and there were couple of different ideas in this thread. If you want, I'll try to find it, though I don't remember the name of it or who participated (I believe, Fred Taylor participated, so I may try to search by him).

>Yeah, I know I shouldn't be using a listbox, but I'm just sick of using grids. :(
>
>I'm trying to get out of a trap of using the same controls all the time. Then again, that's not really a good excuse... is it?
>
>- Brian
>
>
>>Brian,
>>
>>It was said here multiple times, that it's better not use ListBoxes (especially multiselect listboxes) for number of items greater than 100. If you'd use them for 5000 items, you definitely find bunch of problems. I already found this, so then I switched to multiselect Grid (available here in Files section - file by Cetin Basoz). I created quite complicated class based on Cetin's class and posted it also in Files section. You may want to take a look at both of them.
>>
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform