Results 1 to 10 of 10
  1. #1
    deltanet is offline Novice
    Windows 10 Office 365
    Join Date
    Nov 2020
    Posts
    5

    Popup form not minimizing - help

    Hi all.
    Small db that i am playing with (created by me) has a background form that launches maximized and on load event is launching main window/form.
    All forms are popup and modal. Please do not say change the design
    all is working ok apart from one small thing,
    I cannot find a way to minimize it all. do.cmd minimize will just minimize current window/form and the background form will always stay on screen.


    Whatever i do i cannot seem to find solution.

    Hopefully i have explained it correctly.
    please note i am not a access specialist, just playing with it as more of a hobby. self learned etc.
    Let me know what other details you might need to help me out.
    Appreciate any help.

  2. #2
    Bob Fitz's Avatar
    Bob Fitz is offline Access Developer
    Windows 10 Access 2016
    Join Date
    May 2011
    Location
    Essex UK
    Posts
    3,530
    What exactly do you want to minimize. All open forms, some of the open forms (which ones), or the actual Access application window.
    If this helped, please click the star at the bottom left of this posting and add to my reputation . Many thanks.
    Bob Fitzpatrick

  3. #3
    deltanet is offline Novice
    Windows 10 Office 365
    Join Date
    Nov 2020
    Posts
    5
    So my aim to minimize all , so that i can see my desktop, taskbar etc.
    One thing i will add.
    I have tried to enable min max and close buttons on that background form and i can see them but i cannot click on them. Maybe that is completely wrong approach but was looking at whatever i can think of.
    When i enable the same buttons on other forms it will just minimize that current form and the background will still stay on screen. hopefully that makes sense

  4. #4
    Bob Fitz's Avatar
    Bob Fitz is offline Access Developer
    Windows 10 Access 2016
    Join Date
    May 2011
    Location
    Essex UK
    Posts
    3,530
    Why don't you just use the minimize button of the Access application window.
    If this helped, please click the star at the bottom left of this posting and add to my reputation . Many thanks.
    Bob Fitzpatrick

  5. #5
    deltanet is offline Novice
    Windows 10 Office 365
    Join Date
    Nov 2020
    Posts
    5
    Main access window is not visible, i wanted it not to look like access.

  6. #6
    Bob Fitz's Avatar
    Bob Fitz is offline Access Developer
    Windows 10 Access 2016
    Join Date
    May 2011
    Location
    Essex UK
    Posts
    3,530
    Quote Originally Posted by deltanet View Post
    Main access window is not visible, i wanted it not to look like access.
    Sorry, but I am unable to offer any knowledgeable advise on what you want to do. From what I can remember of other post that I've read in the past, I think it will involve making Windows API calls but as I've already said, I'm out of my depth.

    Hopefully, someone else with more knowledge will be able to help.

    Good luck with your project
    If this helped, please click the star at the bottom left of this posting and add to my reputation . Many thanks.
    Bob Fitzpatrick

  7. #7
    deltanet is offline Novice
    Windows 10 Office 365
    Join Date
    Nov 2020
    Posts
    5
    Quote Originally Posted by Bob Fitz View Post
    Sorry, but I am unable to offer any knowledgeable advise on what you want to do. From what I can remember of other post that I've read in the past, I think it will involve making Windows API calls but as I've already said, I'm out of my depth.

    Hopefully, someone else with more knowledge will be able to help.

    Good luck with your project
    That's ok, thanks for responding.

  8. #8
    Minty is offline VIP
    Windows 10 Office 365
    Join Date
    Sep 2017
    Location
    UK - Wiltshire
    Posts
    3,001
    If all your forms are pop up and modal then you can't do anything outside of them within access at all, except minimise the application window, (but you have hidden it) that is inherent behaviour by design.

    You would have to have a command button on the popup that would minimise the entire application.
    DLookup Syntax and others http://access.mvps.org/access/general/gen0018.htm
    Please use the star below the post to say thanks if we have helped !
    ↓↓ It's down here ↓↓

  9. #9
    Gicu's Avatar
    Gicu is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jul 2015
    Location
    Kelowna, BC, Canada
    Posts
    4,101
    So my aim to minimize all , so that i can see my desktop, taskbar etc.
    One thing i will add.
    I have tried to enable min max and close buttons on that background form and i can see them but i cannot click on them. Maybe that is completely wrong approach but was looking at whatever i can think of.
    When i enable the same buttons on other forms it will just minimize that current form and the background will still stay on screen. hopefully that makes sense
    That is exactly what modal forms do, you cannot click the background because the other(s) are MODAL. But you also said
    Please do not say change the design
    . Overdesigning your app to block built-in Office functionality will eventually annoy your users more than any gain you might think you're getting by restricting said functionality.

    Mintiy's button suggestion is probably the best you have for the current design.

    Cheers,
    Vlad Cucinschi
    MS Access Developer
    http://forestbyte.com/

  10. #10
    deltanet is offline Novice
    Windows 10 Office 365
    Join Date
    Nov 2020
    Posts
    5
    The only user that will be annoyed is me Many thanks guys for responding.
    @Minty Command button that would minimise the entire application, that is something i would be interested in adding, Any advise on this one? I have tried to add a button with makro to minimize (but i know now that it will do only that window/form) or DoCmd.RunCommand acCmdAppMinimize but again it did not work,

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

Similar Threads

  1. Replies: 6
    Last Post: 12-08-2019, 04:28 AM
  2. Minimizing Modal forms
    By Lukael in forum Programming
    Replies: 4
    Last Post: 11-11-2015, 01:14 PM
  3. Minimizing and Maximizing Ribbon in 2007
    By newbieX in forum Forms
    Replies: 3
    Last Post: 09-12-2014, 01:18 PM
  4. Minimizing database screen
    By jparker1954 in forum Access
    Replies: 3
    Last Post: 08-30-2011, 08:49 AM
  5. Minimizing number length in queries
    By Madchemist in forum Access
    Replies: 2
    Last Post: 08-24-2011, 09:44 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