Navigating an Option Group

  • Thread starter Shane S via AccessMonster.com
  • Start date
S

Shane S via AccessMonster.com

I have an option group with 3 controls in it. When the option group first
receives the focus just the label for Value 1 is highlighted (not the radio
button). If I hit Tab focus moves to the next control outside of the option
group. If I use the right arrow then Value 2 receives the focus, which causes
my AfterUpdate code to fire. What I would like to do is give the user a way
of navigating between the 3 option group controls without the radio button
itself receiving the focus. Is there a way to do this?

TIA,
Shane
 
J

Jeff Boyce

Shane

How do you mean "navigating between the 3 option group controls"? In my
usage, this only means moving among the options.
 
M

MacDermott

Perhaps you could move the code you have in the AfterUpdate event procedure
to OnExit?
 
S

Shane S via AccessMonster.com

Hey Jeff,

Thanks for the reply. Yes, that is what I mean, navigating between the 3
controls within the option group, but with a twist (I think). When the focus
first goes to an option group, none of the controls receive the focus (or it
doesn't appear to be so), what does happen is the label belonging to the
first control's, border is highlighted. What I'm wondering is can the 2nd
and 3rd control have the same thing happen? If any one of the controls
receive focus then my code will fire. That's why I say that when the focus
first goes to the option group it doesn't appear that any of the controls
within the option group receive the focus cause none of them are 'True' and
my code doesn't fire, however if I begin to right or left arrow then one of
the controls will receive the focus and my code will fire. I'm trying to
give my users a way of navigating through the option group but wait for
either the spacebar or enter to be pressed before firing the code.

Is this as clear as mud?? :)

Thanks again,
Shane

Jeff said:
Shane

How do you mean "navigating between the 3 option group controls"? In my
usage, this only means moving among the options.
I have an option group with 3 controls in it. When the option group first
receives the focus just the label for Value 1 is highlighted (not the radio
[quoted text clipped - 6 lines]
TIA,
Shane
 
S

Shane S via AccessMonster.com

Thanks MacDermott,

That gets me a lot closer to doing what I wanted. Now just to clean it up a
bit.

Thanks again,
Shane
Perhaps you could move the code you have in the AfterUpdate event procedure
to OnExit?
I have an option group with 3 controls in it. When the option group first
receives the focus just the label for Value 1 is highlighted (not the radio
[quoted text clipped - 6 lines]
TIA,
Shane
 

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

Top