-
Cannot Raise Event
I have an ActiveX control with a Combo box that I am using in my project. The change event is mapped.
If I start the project and select an item from the drop down, the RaiseEvent does not fire.
However, if I pragmatically change the selection in the combo box (cmbProduct.text="Gear Oil"), it does.
Any ideas?
-
Combo Boxes
This is not an event mapping problem, it is a feature/bug of standard VB combo boxes.
When you select an item from a combo list, the 'Click' event is fired.
When you change the text in a combobox (either programmatically or by the user) the 'Change' event fires.
Basically then, you want to map the 'Click' event as well.
-
That worked. Thanks for the info.