Radio Button Focus

Tupacmoche

Registered User.
Local time
Today, 04:16
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:
 
In a frame? You'd set the value of the frame to the value for that option.
 
I tried this but it gave me an error msg:

Me.FrameGiftAlloc = Me.OptionGA

What do, I have to change?
 
I was thinking:

Me.FrameGiftAlloc = 3

or whatever the numeric option value was of the item you wanted selected.
 
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

Back
Top Bottom