|
-
Apr 30th, 2001, 11:39 PM
#1
Thread Starter
Hyperactive Member
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?
-
May 3rd, 2001, 07:32 AM
#2
Fanatic Member
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.
-
May 4th, 2001, 09:17 AM
#3
Thread Starter
Hyperactive Member
That worked. Thanks for the info.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|