开发者

Combobox selection control not coming out

I'm working with winforms comboboxes. When I select any item in combobox I've raised an event. But control can not come outside. When I scroll the mouse the selected event changing every time.

how开发者_运维知识库 to prevent this?


The mouse scrolling actually does change the item selection in the combobox and hence your event is fired, you don't want your event handling code on mouse scroll?


If the problem is that you cannot use the mouse wheel to open drop-down portion of the combobox, then you can use ComboBox.DroppedDown property.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜