Results 1 to 9 of 9
  1. #1
    deepaksharma is offline Competent Performer
    Windows 7 32bit Access 2016
    Join Date
    Jul 2023
    Location
    india
    Posts
    389

    how can disable background form

    My greetings to all of you.
    I have created a dashboard which has some buttons when those buttons are clicked their respective forms open in small windows on the dashboard when the forms are opened the dashboard is also active so if the dashboard is clicked the open The form hides behind the dashboard. I want the dashboard to remain disabled as long as there is a form open on the dashboard. Please let me know what I can do for this.


    Thank you.

  2. #2
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    4,940
    Hide the dashboard?
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  3. #3
    deepaksharma is offline Competent Performer
    Windows 7 32bit Access 2016
    Join Date
    Jul 2023
    Location
    india
    Posts
    389
    Quote Originally Posted by Welshgasman View Post
    Hide the dashboard?
    No, I want that if the user has opened a form by clicking on any button on the dashboard, then he should not be able to click on the dashboard until he closes that form.

  4. #4
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    4,940
    Quote Originally Posted by deepaksharma View Post
    No, I want that if the user has opened a form by clicking on any button on the dashboard, then he should not be able to click on the dashboard until he closes that form.
    And he will not be able to if the form is hidden.
    Make the forms modal?
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  5. #5
    deepaksharma is offline Competent Performer
    Windows 7 32bit Access 2016
    Join Date
    Jul 2023
    Location
    india
    Posts
    389
    Quote Originally Posted by Welshgasman View Post
    And he will not be able to if the form is hidden.
    Make the forms modal?
    No Welshgasman,
    Dashboard is not hidden

  6. #6
    deepaksharma is offline Competent Performer
    Windows 7 32bit Access 2016
    Join Date
    Jul 2023
    Location
    india
    Posts
    389
    Please see the attached file When you click on the print button on the dashboard the print selection window opens then when you click on the dashboard the print selection window goes behind the dashboard.
    Attached Files Attached Files

  7. #7
    CJ_London is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,430
    You have had two suggestions- set the other forms to be modal so you can’t do anything else until you close the form, or hide the navigation form. What is wrong with using either of these two methods?

  8. #8
    Join Date
    May 2018
    Location
    Living in Scotland UK
    Posts
    1,566
    Why not close the dashboard when you open a specific Form
    Then open the dashboard when you close a Form
    You can PM me if you need further help.
    Good Reading https://docs.microsoft.com/en-gb/off...on-description

  9. #9
    deepaksharma is offline Competent Performer
    Windows 7 32bit Access 2016
    Join Date
    Jul 2023
    Location
    india
    Posts
    389
    Quote Originally Posted by CJ_London View Post
    You have had two suggestions- set the other forms to be modal so you can’t do anything else until you close the form, or hide the navigation form. What is wrong with using either of these two methods?
    Thanks CG London,

    When Welshgasman mentioned about the modal, I could not understand it and also did not find anything clear about it on Google, then you also mentioned about the modal, so I searched it again on YouTube then I got correct information about it. Now I am very happy to say that my problem has been solved.

    I would like to say one more thing, you guys are no less than Gods who immediately comes to help us selflessly in any of our problems. If all the people of the world become like you then how beautiful the world would become. Once again I I would like to thank you all.

    Thank you...

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

Similar Threads

  1. Replies: 5
    Last Post: 08-25-2018, 04:55 PM
  2. Form's Background
    By GraeagleBill in forum Forms
    Replies: 4
    Last Post: 07-07-2017, 05:33 PM
  3. Form in the Background
    By UT227 in forum Forms
    Replies: 3
    Last Post: 06-14-2017, 06:06 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