[quoted text, click to view] "Tasneem Jappie" <TasneemJa@gmail.com> wrote in message
news:1182870560.507004.278990@q69g2000hsb.googlegroups.com...
>I am searching for an example where a combobox is extended to contain
> checkbox items. I've looked all day now, and so far the best links
> are:
>
> 1)
http://www.codeproject.com/useritems/CheckComboBox.asp > and
> 2)
http://www.codeproject.com/combobox/checkcombo.asp >
> The first CheckComboBox example is almost exactly right, except for
> the fact that I'd like to keep the drop down list open while the user
> checks items. At the moment it collapses after an item is selected :-
> (
>
> The second CheckCombo example is really old and written in C++ but the
> way it functions is PERFECT.
>
> Please could somebody enlighten me on how to get the DroppedDown
> property for a combobox to stay true while checking items. Ideally,
> the list should collapse only when the user clicks outside the control
> or clicks the dropdown button.
I think you'll find the main reason that you aren't getting very many hits
is that most people consider this to be a very bad interface design. If you
have a SPECTACULAR reason to have a drop-down that doesn't dismiss on the
first selection, you're probably going to have to forget about extending the
combo box and just write a combo box replacement entirely from scratch.
Otherwise you should probably just re-think your design.