Results 1 to 4 of 4
  1. #1
    New Lounger
    Join Date
    Nov 2007
    Posts
    22
    Thanks
    0
    Thanked 0 Times in 0 Posts

    set all controls invisible (Access 2000)

    I need a command to set all the controls in the form invisible.Where can i get it ?

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: set all controls invisible (Access 2000)

    You can't make all controls invisible - one control needs to have the focus (that is, it is the active control), and you cannot hide the control that has the focus.
    Why do you want to do this?

  3. #3
    New Lounger
    Join Date
    Nov 2007
    Posts
    22
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: set all controls invisible (Access 2000)

    because i have many controls supeimposed and i could make them invisible with one stroke.I will leave then the control Name unhidden ?

  4. #4
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: set all controls invisible (Access 2000)

    It is not a good idea to have many controls superimposed. I would use a tab control with several tab pages. This lets you organize the controls in groups that should be shown together. When the user clicks on a tab, Access automatically shows the controls on that page and hides the controls on all other pages. No code needed.

Posting Permissions

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