Solved

Combo Box on change event

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

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 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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

813 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

14 Experts available now in Live!

Get 1:1 Help Now