Results 1 to 3 of 3

Thread: making an entire tab invisible[RESOLVED]

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Nov 2003
    Posts
    1,489

    making an entire tab invisible[RESOLVED]

    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.

  2. #2

    Thread Starter
    Frenzied Member
    Join Date
    Nov 2003
    Posts
    1,489
    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

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Nov 2003
    Posts
    1,489
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width