Solved

Combo Box on change event

Posted on 2003-11-24
4
493 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
  • 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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
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…

743 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now