I have a ListBox that I load with 66 items maximum.
When I try and do a $LB->RemoveItem($item) with 58 items or more
In the ListBox, the program crashes. It just ends without any error
58 is the magic number. If I have 57 items or less, no problem removing
I wonder if this is why Heinz 57 Steak Sauce got its name?
Heinz 58 or Heinz 60 just does not sound right.
Maybe more than 58 items spoils the recipe, and the ListBox?
Does anyone know if ListBoxes have a 57 item maximum in order
To function correctly?
Should I be presenting my question to this group, or would I be better
Sending an email to John F. Kerry for him to discuss my problem with his
On approximately 8/2/2004 3:34 PM, came the following characters from
the keyboard of Eric Hansen:
> Does anyone know if ListBoxes have a 57 item maximum in order
> To function correctly?
I think there is probably a bug somewhere, not a 57 item maximum.
Unless you tell me you are running on Win9x, and each item you add is
about 1K in size, then I'd wonder if you hit a 64KB maximum content size
or some such thing... Win9x is full of that sort of limit. Sometimes
the limit is even 32KB.
> Should I be presenting my question to this group, or would I be better off
> Sending an email to John F. Kerry for him to discuss my problem with his
I'm pretty sure this is the right group to ask, but it would be fine to
see if John F. Kerry would discuss your problem with his wife, as well.
Parallel processing sometimes produces results faster.
So might reducing your program to a test program that demonstrates the
failure, and sharing it with the list.
Speaking of Windows, I wonder if you are seeing this on Windows XP?
I've seen some pretty strange crashes on Windows XP with programs that
work just fine on Windows 2000.
Glenn -- http://nevcal.com/
The best part about procrastination is that you are never bored,
because you have all kinds of things that you should be doing.
From: Eric Hansen <eric.amerwood@ch...> - 2004-08-09 20:34:08
I discovered the problem I was having with ListBoxes.
I was trying to have the click event do too much.
I was attempting to populate 4 comboboxes. This
Was to much for the event handler. So what I do
Now is display the last selected items from the 4
Comboboxes in 4 textfields (readonly) instead. If
The user wants to change the data in the comboboxes,
The comboboxes become populated in the gotfocus event
Of the 4 comboboxes.