ComboBox-Event when code or user changes value

A

adrianae

Hi ng

Is there an Event in the Combobox that is fired even if the user
changes the selected item or if the selected item is changed by code?

What i wanna do is having one place where i can track if the program
changes the selection or the user changes the selected row in a
ComboBox.

Thank you
Adrian
 
C

Carl Rapson

Events only fire in response to user-initiated actions (mouse clicks, etc).
If you change the selection programmatically you have to call the
appropriate combo box event yourself. Something like:

Me.cboComboBox = "Test"
Call cboComboBox_AfterUpdate

Carl Rapson
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top