Results 1 to 5 of 5

Thread: Control that Outlook and Access 2000 use...

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jun 2001
    Location
    Buffalo, NY
    Posts
    297

    Control that Outlook and Access 2000 use...

    Forgive me for repeating a question that I'm certain has been asked and answered many times before but...


    What control is it that Microsoft is fond of using that sitcks to the left hand side of the screen and has different shortcuts? Most notably it's used in Outlook 2000 and MS Access 2000. Does anyone know if it's redistributable?

    Thanks!

    --Ben

  2. #2
    Fanatic Member hothead's Avatar
    Join Date
    Mar 2002
    Location
    Missouri
    Posts
    692
    If you're talking about the menu on the left hand side of the screen that has all the buttons that you click on, that's called a VerticalMenu control, and I have attached it to this message.

  3. #3
    Fanatic Member hothead's Avatar
    Join Date
    Mar 2002
    Location
    Missouri
    Posts
    692
    Hmm, didn't seem to post that time. Here it is
    Attached Files Attached Files

  4. #4

    Thread Starter
    Hyperactive Member
    Join Date
    Jun 2001
    Location
    Buffalo, NY
    Posts
    297
    It's not an MS control huh?

    How would I use that in an MS Access form?

    Thanks again!

    --Ben

  5. #5
    Fanatic Member hothead's Avatar
    Join Date
    Mar 2002
    Location
    Missouri
    Posts
    692
    I'm pretty sure Microsoft used their own version of this control, this is just something identical.

    However, I'm not quite sure what you mean by using it inside an MS Access form. Is this a form inside a program that you created? If so, then you should be able to use it as you would any other control. If you can't use it, I've created a "poor man's" version of the exact same control, poor man being in reference to a way to replicate the control, but at the cost of some of the more "elite" features. Note that this is a rather tedious process; I recommend that you use the VerticalMenu control if possible.

    If you don't mind the tediousness, here's what I did:

    1. Create a frame with a BackColor property set to "&H8000000C&."

    2. Use picture boxes to emulate the buttons. Use the line control and go around the borders of each picturebox, and set the BorderStyle to None on all of them.

    3. Make yourself a bunch of gif images in Photoshop. Use them inside the Picture property of each picture box.

    4. If you intend to use background images on your form (instead of the plain beige background), tell me, and I'll attach my TransparentFrame control that I made. Otherwise use the regular Frame control that comes with VB. This will hold all your controls, and will allow you to set each frame's Visible property to true, depending upon which button is clicked.

    5. Input the following code where I say to put it.

    VB Code:
    1. 'In each picturebox's Click event, put this code:
    2.  
    3. TransparentFrame1.Visible = True
    4. TransparentFrame2.Visible = False
    5. TransparentFrame3.Visible = False
    6. TransparentFrame4.Visible = False
    7. 'Be sure to change the values of these properties according to which "button" is being clicked.
    8.  
    9. 'In each picturebox's MouseDown event, put this code:
    10.  
    11. Picture1.BorderStyle = 1
    12. Picture2.BorderStyle = 0
    13. Picture3.BorderStyle = 0
    14. Picture4.BorderStyle = 0
    15. 'Again, change the values of these properties according to which button is being clicked.
    16.  
    17. 'Here's what I used in each picturebox's MouseMove event
    18.  
    19. Line1.Visible = True
    20. Line2.Visible = True
    21. Line3.Visible = True
    22. Line4.Visible = True
    23. 'In my example Picture1 used 1-4, Picture2 used 5-8, Picture3 used 9-12, and Picture4 used 13-16.  Be sure to take this into account.

    Well anyways, that about covers it. If I missed anything, let me know... that's quite a lot of work I did.
    Last edited by hothead; Feb 26th, 2003 at 07:30 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
  •  



Click Here to Expand Forum to Full Width