Full Version: Combo box display list when you mouse over
UtterAccess Discussion Forums > Microsoft® Access > Access Forms
kenmac77
Can a combo box be made to drop down and display its list when you "mouse over" the box.

I don't see an event for this. There is obviously and event that causes the control tip to to appear.

This is not always desirable but I have an instance when this would be nice.

thanks for tips

Ken
schroep
In the MOUSEMOVE event of the combobox, put:

comboboxname.Dropdown
schroep
Just a second note that the ControlTip appearance is controlled by a default Access behaviour; there is no trappable event for that.
kenmac77
hmmmmm

So, I am not loosing it.

I have no mouse over event!!!!!!

That's a pretty basic event but it is not there!!

Ken
kenmac77
Peter

I replied befor your reply.

I will try


tnx
Ken
kenmac77
Peter

Please nobody laugh.

I got an error saying the control did not have focus so I added a line to setfocus, before dropdown.

Cool.

Now if I don't want to select a value, I would like the list to close and maintain null.

What is the opposite to dropdown and what event would I use.

Why is the simple stuff like this?

Ken
kenmac77
OK I got it

I used the mouse move event on the form to setfocus to some other control. That closed the list after I left the combobox.

Thanks

Ken
schroep
Sorry, was away from my desk for a bit. Glad you got it working!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.