Results 1 to 4 of 4
  1. #1
    95DSM is offline Advanced Beginner
    Windows Vista Access 2007
    Join Date
    Jul 2010
    Posts
    37

    Programming lables to hide again.

    I currently have a label with code behind it. Its main purpose is to display a list of other lables(which are invisible upon forms start) that have commands/code behind them.

    Almost like clicking File and then clicking print/exit/save/etc.



    My current code is as follows...

    Private Sub Tab_Click()
    FileBox.Visible = True
    RefreshFrm.Visible = True
    PrintFrm.Visible = True
    CloseFrm.Visible = True
    Seperator.Visible = True
    CloseDB.Visible = True
    End Sub

    When I click the Tab label all the other labels are shown as directed. How do I make it that if anything else is clicked after the fact (whether another tab, button, background, etc.) the box, refresh, print, close, seperator, and closedb are hidden again?

    I hope I am making this clear enough.

    Thanks for any help.

  2. #2
    95DSM is offline Advanced Beginner
    Windows Vista Access 2007
    Join Date
    Jul 2010
    Posts
    37
    Or is there a way to obtain the same effect with the "On Mouse Move".

  3. #3
    weekend00 is offline I may not be right
    Windows XP Access 2003
    Join Date
    Aug 2010
    Posts
    1,295
    you may use a command button( or textbox) instead of a label, use the same code for click event. then, set them to invisible in lostfocus event.

  4. #4
    95DSM is offline Advanced Beginner
    Windows Vista Access 2007
    Join Date
    Jul 2010
    Posts
    37
    Nevermind, I just figured it out. I just programed the Detail area and Header area (the 2 surrounding areas) to do the complete opposite.

    Thanks

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Is my programming wrong? :(
    By radicrains in forum Programming
    Replies: 5
    Last Post: 10-27-2010, 08:39 PM
  2. 2 programming issues
    By gripper in forum Programming
    Replies: 3
    Last Post: 10-06-2010, 11:10 AM
  3. Help Please - Programming Labels
    By graviz in forum Programming
    Replies: 4
    Last Post: 03-02-2010, 10:37 PM
  4. VB Programming
    By mstefansen in forum Programming
    Replies: 4
    Last Post: 08-31-2009, 07:15 AM
  5. New to Access programming
    By pushpm in forum Programming
    Replies: 1
    Last Post: 02-20-2009, 03:03 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums