My Assistant
![]() ![]() |
|
|
Oct 6 2005, 09:03 AM
Post
#1
|
|
|
UtterAccess Veteran Posts: 330 |
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 |
|
|
|
Oct 6 2005, 09:08 AM
Post
#2
|
|
|
UtterAccess VIP Posts: 5,200 From: Denver, Colorado [USA] |
In the MOUSEMOVE event of the combobox, put:
comboboxname.Dropdown |
|
|
|
Oct 6 2005, 09:09 AM
Post
#3
|
|
|
UtterAccess VIP Posts: 5,200 From: Denver, Colorado [USA] |
Just a second note that the ControlTip appearance is controlled by a default Access behaviour; there is no trappable event for that.
|
|
|
|
Oct 6 2005, 09:11 AM
Post
#4
|
|
|
UtterAccess Veteran Posts: 330 |
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 |
|
|
|
Oct 6 2005, 09:14 AM
Post
#5
|
|
|
UtterAccess Veteran Posts: 330 |
Peter
I replied befor your reply. I will try tnx Ken |
|
|
|
Oct 6 2005, 09:31 AM
Post
#6
|
|
|
UtterAccess Veteran Posts: 330 |
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 |
|
|
|
Oct 6 2005, 09:45 AM
Post
#7
|
|
|
UtterAccess Veteran Posts: 330 |
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 |
|
|
|
Oct 6 2005, 09:49 AM
Post
#8
|
|
|
UtterAccess VIP Posts: 5,200 From: Denver, Colorado [USA] |
Sorry, was away from my desk for a bit. Glad you got it working!
|
|
|
|
![]() ![]() |
|
Go to Top · Lo-Fi Version | Time is now: 21st May 2013 - 03:31 AM |