Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Tab control and option button

Status
Not open for further replies.

jreinhart

Technical User
May 30, 2003
7
AU
Is there any way to show a tab when an option button is checked (true) otherwise the tabs would be hidden.

I have 5 tabs in my forum and 5 option buttons....and I only want certain tabs to be shown when the corresponding option button is turned on.

If anyone knows if this can be done I would appreciate the advice.
 
Sure... In the On Click event of each option button, put:

Code:
Me!Page1.Visible = Me!Option1

...where "Page1" is the name of the tab page on your tab control, and "Option1" is the name of your option button.

Ken S.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top