Radio Button Focus (1 Viewer)

Tupacmoche

Registered User.
Local time
Yesterday, 22:26
Joined
Apr 28, 2008
Messages
291
Form Masters,

This may be simple but can't find solution. What, I want to do is not only select a radio button from a set but also have the dot that is in the center of the radio button display that I have selected it. So, my code is:

Me.OptionGA.SetFocus

This works fine the object shows a broken dashed line around it. But, I also want the dot in the center to show that it is selected. Is this possible?:confused:
 

pbaldy

Wino Moderator
Staff member
Local time
Yesterday, 19:26
Joined
Aug 30, 2003
Messages
36,125
In a frame? You'd set the value of the frame to the value for that option.
 

Tupacmoche

Registered User.
Local time
Yesterday, 22:26
Joined
Apr 28, 2008
Messages
291
I tried this but it gave me an error msg:

Me.FrameGiftAlloc = Me.OptionGA

What do, I have to change?
 

pbaldy

Wino Moderator
Staff member
Local time
Yesterday, 19:26
Joined
Aug 30, 2003
Messages
36,125
I was thinking:

Me.FrameGiftAlloc = 3

or whatever the numeric option value was of the item you wanted selected.
 

Pat Hartman

Super Moderator
Staff member
Local time
Yesterday, 22:26
Joined
Feb 19, 2002
Messages
43,263
When working with option groups, you always address the "group" control. You never address the individual items. When you give the group control the value for the third item, Access takes care of checking the button (or making it look depressed if it is a button rather than a radio button or checkbox) to indicate which value was selected. When you click on one of the buttons in the interface, Access figures out what value the pressed button contains and places that value in the .value property of the group control.
 

Users who are viewing this thread

Top Bottom