I have code that sets visibility of tab pages when a form opens but haven't tried setting their visibility after the form is open. I see what you mean about TabCtl1 appearance when code executes.
The Option Group is intended to allow selection of only one page of tab control at a time? The following will work with OptionGroup. There are 25 radio buttons but 27 pages on TabCtl1. Appear to be missing Water Pump Dyno and Flow Bench Test. Fix this then set the PageIndex of each page and the corresponding radio button OptionValue to the same number 0 through 26. The code:
Code:
Private Sub Frame826_AfterUpdate()
Dim p As Page
For Each p In TabCtl1.Pages
p.Visible = p.PageIndex = Frame826
Next
Me.TabCtl1.Visible = True
End Sub
The label for the OptionFrame is creating an unbound column in the datasheet.
The comboboxes appear to work correctly.
If you want to allow multiple tabs, how many - any number? Think check boxes might be needed.