>Maybe, but in the final analysis, it's likely that you'd still have to iterate through the array at some point for multiselect listboxes.
>
>The operation might run a bit more quickly because the array would normally be shorter, but overall, the code you'd have to write wouldn't seem to be that much different (if at all). So I'm not sure MS would think it worth spending a lot of time on.
>
>Having said that, it would certainly be useful in non-multiselect listboxes where you'd know that the array only had one element. Is it worth the time for MS to do it? I think it might be hard to justify for a couple of lines of code.
>
For non multiselect listboxes it would be a time saver. I'm usually not puting more than 100-200 items, but still...
If it's not broken, fix it until it is.
My Blog