Help me understand all the modes of a listbox
Posted on 2009-02-24
I have a listbox that appears to go into an unexpected mode at times. It happens when I leave a textbox by clicking on an item in the listbox; instead of selecting the item just clicked on, the listbox goes into a mode where the mouse can hover over the different items and they each, in turn, highlight...but never get selected. I have to click a second time on the item to actually select it. So I guess my question is what is this mode called (when hovering the mouse over the different items cause the items to highlight but not SELECT)? And how can I detect when the listbox goes into this mode?
By the way, I have the listbox's selectionMode set to "one", so only one item can be selected at a time.