Use cbo without a mouse

  • Thread starter Thread starter Junior
  • Start date Start date
J

Junior

hi - have cbo boxes on my forms- when i tab to the cbo box , i must click
with the mouse to
get the selections to display...
i was told that to meet requirements for accessibility, the cbo must be able
to display the list without the use of the mouse...
so, how is that accomplished/should that be done with keyboard strokes? or
vba?
thanks
 
In the On Got Focus event of your Combo Box, insert the following code:

Me!MyComboBox.Dropdown

As soon as a user tabs into the Combo Box or presses Enter to move from the
current field to that Combo Box, the list will open.

Also, in your Combo Box, you can set the AutoExpand property to 'Yes', which
will allow Access to display automatically the first underlying value that
matches the character(s) entered from the keyboard.
 
If your combo box is cboTest then
in form design mode click View > Code.....

Private Sub cboTest_GotFocus()
cboTest.Dropdown
End Sub
 
Junior said:
hi - have cbo boxes on my forms- when i tab to the cbo box , i must click
with the mouse to
get the selections to display...
i was told that to meet requirements for accessibility, the cbo must be able
to display the list without the use of the mouse...
so, how is that accomplished/should that be done with keyboard strokes? or
vba?


The keyboard shortcut is Alt+DownArrow
 
i was told that to meet requirements for accessibility, the cbo must
to display the list without the use of the mouse...

After you tab to the cbo, press the [F4] key to drop
down the list. Use the [up] and [down] arrow keys to
move through the list.

(david)
 

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

Similar Threads

cbo box Catch 22 situation 9
textbox info based on cbo 1
cbo box sql help req'd 8
combo box and what it shows 1
Hyperlink CBO Ascending order 12
Refresh CBO? 1
Cancel NotInList event 1
Filter Combo Box Listing 5

Back
Top