I do NOT want my users to close Access using the "x" in the application's upper-right corner. To stop that, I sent .PopUp to true on all of my forms.
This choice also stops my users from minimizing access. That is a bad side-effect, and I want to correct it.
I tried to make my own minimize button. Here is my code:
Me.Popup=False
DoCmd.RunCommand acCmdAppMinimize
Me.Popup=True
When I press the button, I get a message stating that .PopUp is a readonly property![Frown :( :(](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
This choice also stops my users from minimizing access. That is a bad side-effect, and I want to correct it.
I tried to make my own minimize button. Here is my code:
Me.Popup=False
DoCmd.RunCommand acCmdAppMinimize
Me.Popup=True
When I press the button, I get a message stating that .PopUp is a readonly property