Form Open in Maximize

moi

Member
Local time
Tomorrow, 05:13
Joined
Jan 10, 2024
Messages
273
Hello all,

My form opens in maximize even there is no maximize command on open/current/load. How to avoid this to happen..

Thank you,
 
It was probably saved maximized. Open the form in design mode and normalize it, then save it.
 
  • Like
Reactions: moi
Hello all,

My form opens in maximize even there is no maximize command on open/current/load. How to avoid this to happen..

Thank you,
Not sure why that would happen.

Have you tried Docmd.Restore it in forms open event
 
Are using Tabbed Documents rather than Overlapping Windows?
 
Are using Tabbed Documents rather than Overlapping Windows?
Am using Overlapping Windows sir.. Id tried your suggestion "docmd. restore".. Let me see if this work..
 
Why not try the no code method first? If you were working on the form maximized in design view, then that is the problem. Fix the actual problem. Don't use code bandaids.
 
Why not try the no code method first? If you were working on the form maximized in design view, then that is the problem. Fix the actual problem. Don't use code bandaids.
Hi pat,

Yes the form was set to maximized while working.. How to fix then, can you pls help.. Some of my form when open it is maximized even no code to maximize..and some form will open in not maximize even i put maximize code on it..
 
Did you follow the earlier directions to open the form in design view, size it correctly and save it. It should then open to the size it was saved as. Or you can use the size to fit option on the menu and then save and close and reopen.
 
  • Like
Reactions: moi
Did you follow the earlier directions to open the form in design view, size it correctly and save it. It should then open to the size it was saved as. Or you can use the size to fit option on the menu and then save and close and reopen.
Hello pat,

Yes i followed, open the form (mainmenu) in design, then maximize it, save, close..open again, open one form through my button, close the form, then my mainmenu (navigation) form resize again to smaller size (see attached), i wanted to remain in maximize as this is my mainmenu (navigation) form where my buttons sits..
 

Attachments

  • Screenshot (96).png
    Screenshot (96).png
    31 KB · Views: 84
Yes i followed, open the form (mainmenu) in design, then maximize it, save, close..open again, open one form through my button, close the form, then my mainmenu (navigation) form resize again to smaller size (see attached), i wanted to remain in maximize as this is my mainmenu (navigation) form where my buttons sits..
This is the opposite of your earlier request.

If you always want your forms to be maximized, the easiest solution is to use the tab view. Otherwise, each form should maximize itself in the open event.
 
Hello pat,

Yes i followed, open the form (mainmenu) in design, then maximize it, save, close..open again, open one form through my button, close the form, then my mainmenu (navigation) form resize again to smaller size (see attached), i wanted to remain in maximize as this is my mainmenu (navigation) form where my buttons sits..
Upload a DB that shows the issue.
Could just use DoCmd.Maximize in the form Activate event perhaps?
 

Users who are viewing this thread

Back
Top Bottom