Results 1 to 7 of 7
  1. #1
    Arman is offline Novice
    Windows 10 Access 2016
    Join Date
    Dec 2017
    Posts
    3

    Animated Sidebar Slide Menu

    Hi folks!



    I am not really great when it comes to VBA and Access related stuff, so I was wondering if it would be possible to create a slide styled menu in an Access form.


  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,550
    maybe...a lot of work for that tho.
    a subform with controls on it, normally invisible.
    click a button on the master form, start the subform 'off' screen , then visible
    subfrm.left = me.width +1000

    ,then slowly move the subform to the left
    while subfrm.left < me.width - 2000
    subfrm.left = subfrm.left -100
    next


    a lot of work for a gimick.

  3. #3
    Arman is offline Novice
    Windows 10 Access 2016
    Join Date
    Dec 2017
    Posts
    3
    Quote Originally Posted by ranman256 View Post
    maybe...a lot of work for that tho.
    a subform with controls on it, normally invisible.
    click a button on the master form, start the subform 'off' screen , then visible
    subfrm.left = me.width +1000

    ,then slowly move the subform to the left
    while subfrm.left < me.width - 2000
    subfrm.left = subfrm.left -100
    next


    a lot of work for a gimick.
    Ah, I see. So, I'd have a subform with all those menu items in it and I would set its visibility to "none". When I click on a button, it would run a macro that would bring the menu in and make it visible.

    That does sound like quite some work. Though, I am unable to put the subforms on the right / left side.

  4. #4
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,550
    put the subform where you can see it,
    at form load event move it waaaay off to the right , beyond me.width.

  5. #5
    Arman is offline Novice
    Windows 10 Access 2016
    Join Date
    Dec 2017
    Posts
    3
    Quote Originally Posted by ranman256 View Post
    put the subform where you can see it,
    at form load event move it waaaay off to the right , beyond me.width.
    I have a feeling I am doing it incorrectly. When I save the code and open the form to test, the "side menu" (which is another form" can be seen. Imgur preview.
    Last edited by Arman; 12-18-2017 at 11:09 AM. Reason: Grammar mistake

  6. #6
    Micron is offline Very Inert Person
    Windows 7 32bit Access 2007
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    13,423
    Didn't expect you could move a subform off of the main form's real estate, but I'm not going to try it anyway.
    Here's what I would try - resizing and/or moving a rectangle, either left or right, where the rectangle background is the same colour as the form section. If an image is involved, then might not be possible - unless you add a clip of the image section and manage to get registration exact enough between the rectangle and the form section. So the rectangle would be 0 width to begin with, then expand to full width in steps. Maybe the rectangle doesn't have to be coloured at all, and can just be transparent.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  7. #7
    Micron is offline Very Inert Person
    Windows 7 32bit Access 2007
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    13,423
    looks like cross-posted here https://www.mrexcel.com/forum/micros...ndow-size.html
    both image links result in the same image
    Original Poster (OP): Please read this re: cross posting https://www.excelguru.ca/content.php?184

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

Similar Threads

  1. Replies: 1
    Last Post: 05-02-2017, 10:05 AM
  2. Animated Start up Screen
    By bronson_mech in forum Forms
    Replies: 3
    Last Post: 12-09-2013, 03:16 PM
  3. Animated Gif on form
    By redbull in forum Forms
    Replies: 3
    Last Post: 02-19-2013, 11:22 PM
  4. Automate using VBA Copy/paste of Powerpoint slide
    By JrMontgom in forum Programming
    Replies: 7
    Last Post: 02-01-2013, 04:11 PM
  5. Getting fields to expand and slide down
    By Mkoehler in forum Reports
    Replies: 1
    Last Post: 08-07-2010, 09:02 AM

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