Set option buttons background color

RGALLEN

Registered User.
Local time
Today, 00:30
Joined
Apr 30, 2001
Messages
18
I have a group of option buttons and do not want to set any of them as the default. As a result when I run the application they all look disabled. Is there a way to make them all look enabled without setting one as the default? :confused:

Any help with this problem would be greatly appreciated.:)
 
If you want them to be set false instead of null, then on the form load or form open event, use code like this:

optMyOptionGroup = False


And that should do it.
 
If you put your option buttons within a frame then set the Frame's Value property...

Code:
Private Sub Form_Load()
  Me.Frame0.Value = 0
End Sub

If you have separate option buttons then set the value property for each individually...

Code:
Private Sub Form_Load()
  Me.Option1.Value = 0
  Me.Option2.Value = 0
  Me.Option3.Value = 0
End Sub
 
Thanks to both boblarson and ritchieroo for your input. It worked great.

RGALLEN:D
 

Users who are viewing this thread

Back
Top Bottom