Connecting Tech Pros Worldwide Help | Site Map

Scrolling in a Combo Box

 
LinkBack Thread Tools Search this Thread
  #1  
Old November 12th, 2005, 06:53 PM
Mark Lees
Guest
 
Posts: n/a
Default Scrolling in a Combo Box

I've noticed that when I tab to a combo box control, I cannot scroll
thru the list (row source is a table) without selecting the arrow
first. How do you set it so you can scroll thru the list instead of
clicking on the arrow?

  #2  
Old November 12th, 2005, 06:54 PM
Squirrel
Guest
 
Posts: n/a
Default Re: Scrolling in a Combo Box

Mark,

I don't know whether something like this is exactly what you want but I use
this style for my comboboxes -
it will drop the combo list when the user tabs into the control unless an
item has already been selected from the list.
This code belongs to the GotFocus event for the control.

Private Sub Location_GotFocus()
If IsNull(Me!Location) Then
SendKeys ("{F4}")
End If
End Sub


"Mark Lees" <mark_lees@byu.edu> wrote in message
news:c4f3d99f.0402032224.42161793@posting.google.c om...[color=blue]
> I've noticed that when I tab to a combo box control, I cannot scroll
> thru the list (row source is a table) without selecting the arrow
> first. How do you set it so you can scroll thru the list instead of
> clicking on the arrow?[/color]


  #3  
Old November 12th, 2005, 06:59 PM
Mark Lees
Guest
 
Posts: n/a
Default Re: Scrolling in a Combo Box

"Squirrel" <wiseowl@covad.net> wrote in message news:<62f6d$40209a8f$44a563e3$9522@msgid.meganewss ervers.com>...[color=blue]
> Mark,
>
> I don't know whether something like this is exactly what you want but I use
> this style for my comboboxes -
> it will drop the combo list when the user tabs into the control unless an
> item has already been selected from the list.
> This code belongs to the GotFocus event for the control.
>
> Private Sub Location_GotFocus()
> If IsNull(Me!Location) Then
> SendKeys ("{F4}")
> End If
> End Sub
>[/color]

Squirrel:
I tired but it didn't work. I've never entered code into a expression
before so this is what I did.

I selected the properties for the control (combobox). I went to the
event tab. Selected "On Got Focus". Brought up the expression
builder and typed in your code word for word.

When I saved it. It did not save the code.

So I'm doing something wrong. Please help.
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.