Solved

Combo Box on change event

Posted on 2003-11-24
4
499 Views
Last Modified: 2010-05-01
Hi,
I'm working with VB6,
I have a combo box, I assigned to it a change sub,
Private Sub myBmb_Change()
-
-
End Sub
but it seems the procedure isnt called when I select a different value from the combo
What might be the problem?
0
Comment
Question by:zolpo
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 43

Accepted Solution

by:
TimCottee earned 100 total points
ID: 9809449
Hi zolpo,

You need to use the click event rather than the change event.

Tim Cottee MCSD, MCDBA, CPIM
Brainbench MVP for Visual Basic
http://www.brainbench.com
0
 
LVL 5

Expert Comment

by:rajaamirapu
ID: 9809469
Click event is fired when you click the combo box.
If it is a Dropdown combo when ever you change the text (entry) change event is fired.
0
 
LVL 5

Expert Comment

by:rajaamirapu
ID: 9809473
if depends upon the type
0
 
LVL 1

Author Comment

by:zolpo
ID: 9809754
click is what i needed,
Thanks a lot guys,
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses
Course of the Month9 days, 22 hours left to enroll

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question