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?
Damon Heron - 23 May 2007 19:38 GMT
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
> 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?
ruralguy - 23 May 2007 19:42 GMT
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.
>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?

Signature
HTH - RuralGuy (RG for short) acXP WinXP Pro
Please post back to this forum so all may benefit.