Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Forms / May 2007

Tip: Looking for answers? Try searching our database.

Dynamic Group of option controls

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Sara - 23 May 2007 19:08 GMT
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.

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.