keep form maximized

mike wild

Registered User.
Local time
Today, 15:12
Joined
Feb 16, 2003
Messages
69
I'm looking for a way to keep a form maximized even if the user presses the minimize or maximized buttons in the top right hand corner.

Or even gray out the min and max buttons altogether. I have code in place that grays out the close button but not the min or max.

Any help would be great!
 
Put your form in design mode.
Click the top left corner of the form (between the rulers) a little black square should appear.
Right click on the square and choose properties.
On min/max buttons change the drop down to none.
 
That is correct for the access form window but i mean the application window.
 
Code:
DoCmd.RunCommand acCmdAppMaximize
 
I placed in the the forms onload property, but you can still minimize the application.
 
got it poped it in the event timer to check every 3 minutes.

thank you
 
The code to disable the applications minimize/restore options should be within the same code you are using the disable the applications close X button but it is not very well documented and I never had a need to use it.

Post back if you can figure it out. Thanks!
 

Users who are viewing this thread

Back
Top Bottom