Hello,
I've been having problems with the ComboBox control. I'm no expert in GUI, but I know this problem is related to the control's focus.
For some reason, the ComboBox does not lose its focus when I click outside of it. Say for example:
- I click on the ComboBox to list its items.
- I select one item. This closes the ComboBox.
- I click on the second ComboBox, the first one stays focused.
OR
- Click on a ComboBox (contains Point, Solid and Wireframe).
- Click on the form. Press either P, S or W. See the selection get changed.
Note that the ComboBox only has the DropDownStyle set to ComboBoxStyle.DropDownList. This means that it's the default ComboBox behavior. I thought that the default behavior was that the ComboBox would lose its focus when you clicked out of it, or on another control (button or ComboBox). It is not the case here, why?
UPDATE: What I need is some sort of ActiveComponent = null. The behavior should be similar to the one of Visual Studio were you select Debug or Release (ComboBox) in the standard toolbar. Currently, if I click outside of the ComboBox, it is still focused.