I want to make a combobox auto show the list when the user moves the cursor in to it. I managed to do this a couple of years ago (and was told by my client that they didnt like it) and have since forgotten how. [sig][/sig]
Add the following to your combo box's GotFocus event:
Sub cboMyBox_GotFocus()
Me!cboMyBox.DropDown
End Sub
Hope that helps... [sig]<p>Terry M. Hoey<br><a href=mailto:th3856@txmail.sbc.com>th3856@txmail.sbc.com</a><br><a href= > </a><br>Ever notice that by the time that you realize that you ran a truncate script on the wrong instance, it is too late to stop it?[/sig]
Thanks for that! I manage to get it to work by using :-
SendKeys "%{Down}"
I will use your suggestion because it is more elegent and far less likely to cause errors. (I had actually tried the dropdown method, but as a property ( e.g. = True) DOH!)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.