In the combo box right click while in design mode. put your cursor in the
event GotFocus and then click the dropdown on the right. Go to the code
window and you will see Private Sub YourControlName_GotFocus() Add
Me!YourControlName.Dropdown and end sub will be their already. Every time
cursor goes to this box it will drop down for you.
Private Sub YourControl_GotFocus()
Me!YourControl.Dropdown
End Sub
--
Pete D.
ernie said:
I have built the expression =[Combo8].[AutoExpand] in the On Got Focus
event
of the combo box, it does not work to drop the box on it getting the
focus,
should I replace AutoExpand with Dropdown? I don't know where to put your
(personalized) code, could you give more detail please.
Thank you,
ern.
Pete D. said:
I'm like the home row keys too and hate moving to the mouse.
Private Sub YourControl_GotFocus()
Me!YourControl.Dropdown
End Sub
--
Pete D.
Useful in a list of options,
regards,
ern.
yes, you can use the ampersand in any form control's associated
label
to
create a hot key to set focus on that control.
hth
Much simpler, Tina! I didn't realize you could do that with the cbo
label!
tina wrote:
as an alternative, you can set a hotkey on any letter in the combobox
control's label, using the ampersand in the label's Caption property,
and
add code to the combobox's Enter event procedure to dropdown the list,
as
Private Sub ComboboxName_Enter()
Me!ComboboxName.Dropdown
End Sub
hth
You could set up a "hotkey" to set the focus on the combobox then
drop
it
down.
[quoted text clipped - 9 lines]
Now the key combination <Alt> + <D> will dropdown the combobox
--
There's ALWAYS more than one way to skin a cat!
Answers/posts based on Access 2000
Message posted via AccessMonster.com