You can't. This isn't a supported functionality of a tab page, you won't see this done anywhere in Windows. You might want to rethink your interface design. Perhaps you could disable all child controls of a tab page (would be trivial).
you could disable or invisible the child controls in a TabPage...
Visual Basic:
Private Sub ChangeTextboxState(ByVal state As Boolean)
Dim ctr As Control
For Each ctr In tabPage1.Controls
If TypeOf ctr Is TextBox Then
ctr.Enabled = state
End If
Next
end sub
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.