Gotfocus event for combo box dropdown ??

  • Thread starter Thread starter David
  • Start date Start date
D

David

I have some code in an 'on gotfocus' event for a combo box.
If the user clicks in the control, the event is triggered.
However, if the user clicks the down-arrow and selects an
entry, the event is not triggered. Why not? and how do I
get around this?
 
I just tried what you said in Access 2003 and the event is triggered as soon
as I click the down arrow and before the drop down opens. As a work around,
could you use the OnClick event? In my testing, the OnClick didn't fire when
clicking the down arrow, but did fire as soon as a selection was made from
the drop down list.

A possible problem may be that the control us corrupted (probably not, but
easy to test and it does sometimes happen). You may want to try deleting the
combo box and creating a new one.
 
Back
Top