Results 1 to 4 of 4
  1. #1
    UT227 is offline Expert
    Windows 7 32bit Access 2013 32bit
    Join Date
    Feb 2016
    Posts
    581

    Form in the Background


    I was wondering if there was a way to keep my main menu on the background and no windows allowed to be behind it. Kind of like having the main menu as the wallpaper of that database.

  2. #2
    CJ_London is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,927
    there is code to force a form window to be on top (besides using popup and modal properties), but that is not the same as keeping a form at the back.

    Suggest an alternative method is maximise your main form and have all your other forms appear in a subform 'window'

    say this subform control is call sfWindow

    then instead of using

    docmd.openform "myform"

    use

    me.sfwindow.sourceobject="myform"

    and if you are using openargs, Where etc, apply to the now open form instead or have the form check against the parent (i.e. your main menu form) instead in the open, load or current events

  3. #3
    UT227 is offline Expert
    Windows 7 32bit Access 2013 32bit
    Join Date
    Feb 2016
    Posts
    581
    I have so much to learn. I use the built in buttons which use the macros to open new windows.

  4. #4
    CJ_London is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,927
    macros are quite limited compared with what you can do with code. So perhaps time to get stuck in!

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

Similar Threads

  1. Background Color on Form
    By PATRICKPBME in forum Forms
    Replies: 2
    Last Post: 01-25-2017, 02:43 PM
  2. Replies: 4
    Last Post: 07-17-2015, 10:04 AM
  3. How to put a background on a form
    By Andrias14 in forum Forms
    Replies: 4
    Last Post: 11-22-2011, 01:40 PM
  4. Can a form run in the background?
    By polis in forum Forms
    Replies: 3
    Last Post: 09-11-2011, 06:06 PM
  5. Car Form example and other Background Example
    By pkstormy in forum Code Repository
    Replies: 0
    Last Post: 08-30-2010, 09:59 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