Solved

Combo Box on change event

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

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VB error "Type mismatch" 2 61
Adding to a VBA? 6 78
Can we place a tooltip on the actual vb6 form 5 48
VBA - If Bookmark = "XXBOOKMARKXX" then 15 41
Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

820 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