Norma Posy
asked on
VB6 Combo Box Change Event
When user selects an item in a combo box, I would like to respond with a subroutine that does something with the new choice.
I put a break in the code written under subroutine "ComboBox_Change", but the program doesn't seem to call that subroutine when a new selection is made in the combo box.
I've temporarily installed a "GO" command button and put the code there, but that requires the user to do one extra mouse click.
The action should take place whenever a new selection is made in the combo box itself.
What am I missing here?
I put a break in the code written under subroutine "ComboBox_Change", but the program doesn't seem to call that subroutine when a new selection is made in the combo box.
I've temporarily installed a "GO" command button and put the code there, but that requires the user to do one extra mouse click.
The action should take place whenever a new selection is made in the combo box itself.
What am I missing here?
Try the Click event.
ASKER
But there are two clicks.
First, to get the drop-down of the items.
Second, to select the item.
Anyway, I'm curious. What event actually triggers the "change" event?
First, to get the drop-down of the items.
Second, to select the item.
Anyway, I'm curious. What event actually triggers the "change" event?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you so much.
You have clarified the combo box "click" and "change" events for me.
- - Norma
You have clarified the combo box "click" and "change" events for me.
- - Norma
You're welcome and I'm glad I was able to help.
In my profile you'll find links to some articles I've written that may interest you.
Marty - MVP 2009 to 2015
In my profile you'll find links to some articles I've written that may interest you.
Marty - MVP 2009 to 2015