Hughng Posted October 29, 2003 Posted October 29, 2003 Does anyone know what is the max number of items listbox can hold? I have a program add a bunch of items in the list box. It always crash after around 12,000 - 13,000 entries. If that is the upper limit of list box, what should I use to get more number of items? Thank you very much, HN Quote
Administrators PlausiblyDamp Posted October 29, 2003 Administrators Posted October 29, 2003 You could use a grid control. 13,000 items in a listbox does seem a bit excesive though. Could the list not be structured another way? Maybe a couple of listboxes one for category allowing for drill down. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
jamesanthony Posted October 29, 2003 Posted October 29, 2003 Listbox will anybody really scroll through the list box for 13000 items Why not use an index ie letters A-Z across the top and then show only items matching the letter chosen. :-\ Quote
Hughng Posted October 30, 2003 Author Posted October 30, 2003 Thank you for your reply. Yes, it is excessive amount of item. This is one of the test routine that loop throught the whole list box. I use the list box to store the path to the correct reporting file for that single instance. To make the long story short, it is best if I leave the whole thing there. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.