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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top