what's the easiest way to hide the contents of a tab so that users can't see anything until answering a boolean ?
Printable View
what's the easiest way to hide the contents of a tab so that users can't see anything until answering a boolean ?
here is what I have so far but the "tabtroubleinput" doesn't like to be in there
Code:
Dim i As Control
For Each i In tabTroubleInput
i.Visible = false
Next i
well, figured it out:
Code:Private Sub mnuNewTrouble_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles mnuNewTrouble.Click
Dim i As Control
For Each i In tabTroubleInput.Controls
i.Visible = True
Next i
End Sub