开发者

Combo box in vb6 firing on click before i select any item

开发者 https://www.devze.com 2023-01-28 03:49 出处:网络
I have a vb6 application which has a combo box on it, on this combo box _click event i have written some code bu开发者_如何学JAVAt noticed that this event is firing even when i open the list of items

I have a vb6 application which has a combo box on it, on this combo box _click event i have written some code bu开发者_如何学JAVAt noticed that this event is firing even when i open the list of items in combo box, i have other combo boxes in my application as well they all fire _click when an item is select from list not when the list is opening.

Thanks


You almost certainly meant to handle the Change event, not the Click event.


There are 3 type of combo box in vb6, choose the right style for a combo to get the beahviour you want in property window of a combo box, Source:

http://visual-basic.itags.org/visual-basic/82371/

0

精彩评论

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