Dynamic Group of option controls

S

Sara

Hello,

I have a form with a toggle button and an option group. The way the form is
supose to work is the user click the toggle button and Only then the Group
option controls appear. Could anybody advise me on how to accomplish this?
 
D

Damon Heron

Set the visible property of the option frame to no. In the click event of
the toggle, put this code (substituting your names for the controls):
Private Sub YourToggle_Click()
Me.YourFrame.Visible = Me.YourToggle
End Sub

HTH
Damon
 
R

ruralguy via AccessMonster.com

Hi Sara,
The OptionGroup control has a Visible property. In design mode set it to NO
and then set it to yes when you click the toggle button. Me.OptionGroupName.
Visible = True
...using your OptionGroupName of course.
 
Top