The ComboBox Control

T

Tsviatko Yovtchev

Well, I really hope I am wrong, but this control seems pretty unusable the way it is implemented right now.
I cannot find a way to get notified immediately when the user commits a selection. The SelectionChangeCommitted, DropDown,
Click, MoseUp/Down events are not implemented. The SelectedIndexChanged event is there but
it does not necessarily mean final selection since the user might just be using the hard buttons to
scroll up and down in the list portion of the ComboBox. Unless I can get notified when the drop down
list gets shown and hidden I cannot be sure what exactly goes on.

So, am I missing something? Is there some way to detect selection immediately after it occurs?
 
G

Guest

In your scenario, the only way you can guarantee the user has finished
selection is by using the LostFocus event. I'm not sure you can place all of
the blame on the combobox since you are able to use the scroll bar to scroll
the list, or jump to a letter using the keyboard (without causing a
selection) rather than cycle through the list using a mouse or arrow key.

Here's another odd behavior involving the combobox and the new pda/phone
device with slideout keyboard. In some instances, sliding out the keyboard
and making the screen landscape and causing a scrollbar to appear, a combobox
at the bottom causes the screen to jump back to the top of the form so that
you cannot select anything. I have had to replace a couple of combo boxes
with listboxes to avoid this.
 
M

Martin

hi,
if you need "DropDown" event I see one in ComboBox control developed by the Labit,
there are some controls with extended set of events in their VDS suite
http://www.labitweb.com

In your scenario, the only way you can guarantee the user has finished
selection is by using the LostFocus event. I'm not sure you can place all of
the blame on the combobox since you are able to use the scroll bar to scroll
the list, or jump to a letter using the keyboard (without causing a
selection) rather than cycle through the list using a mouse or arrow key.

Here's another odd behavior involving the combobox and the new pda/phone
device with slideout keyboard. In some instances, sliding out the keyboard
and making the screen landscape and causing a scrollbar to appear, a combobox
at the bottom causes the screen to jump back to the top of the form so that
you cannot select anything. I have had to replace a couple of combo boxes
with listboxes to avoid this.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top