Results 1 to 2 of 2
  1. #1
    Lounger
    Join Date
    Apr 2001
    Location
    KY USA
    Posts
    45
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Making groups of Controls invisible (97 SR2, Win NT)

    Is it possible to make a group of controls invisible? I've explored the With, but I can't find anything.

  2. #2
    Gold Lounger
    Join Date
    Feb 2001
    Location
    Sint Niklaas, Belgium
    Posts
    2,778
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Making groups of Controls invisible (97 SR2, Win NT)

    You can loop through the controls of your forms
    <pre>Dim ctl As Control
    For Each ctl In MyForm
    If MyCondition Then
    ctl.Visible = False
    End If
    Next
    </pre>

    Francois

Posting Permissions

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