Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can you select items in a listbox by value?
Message
From
14/12/2000 15:54:48
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00453572
Message ID:
00453611
Views:
33
Thanks Nadya, but it really isn't worth the trouble. I'm just going to use a grid. I don't need multi-select ability, so I'll just check the files section for a grid that has some incremental search textbox tied to it.

The reality of the situation is that I'm making it harder than it has to be. I just wanted to try some new stuff, and it's bogging me down, so I'll just fall back to what I know... which at this point is starting to look like less and less... :)


- Brian

>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.
>>>


VFP6 SP5, VFP8 SP1, VFP 9 SP 1 and Win XP SP 3 (unless otherwise specified)


www.wulfsden.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform