• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 155
  • Last Modified:

Detecting Combo Selection Changed

I need to change the contents of a list box when the selection of a combo box is changed.  The only way I've found to do this is to attach code to the OnLostFocus method of the combo box that checks to see if the selection has changed.  This seems like a clunky way do do it.  Oddly, the Change event doesn't fire when the selection is changed.  Do you know of a way to detect when the combo box selection has changed?

Thanks,

Eric.
0
ewalstad
Asked:
ewalstad
  • 2
1 Solution
 
mcriderCommented:
Put you listbox change code in a subroutine, then call the subroutine in both the Click and Change events of the combobox...


Cheers!
0
 
ewalstadAuthor Commented:
Duh,  That was a no-brainer!

Thanks for your help!
0
 
mcriderCommented:
Glad I could help!

Cheers!
0

Featured Post

Take Control of Web Hosting For Your Clients

As a web developer or IT admin, successfully managing multiple client accounts can be challenging. In this webinar we will look at the tools provided by Media Temple and Plesk to make managing your clients’ hosting easier.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now