Gotfocus event for combo box dropdown ??

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?
 
W

Wayne Morgan

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.
 

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