what's the easiest way to hide the contents of a tab so that users can't see anything until answering a boolean ?
Last edited by Andy; Jan 16th, 2004 at 01:25 PM.
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
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
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
Forum Rules