Forms un maximise (1 Viewer)

ontopofmalvern

Registered User.
Local time
Today, 08:51
Joined
Mar 24, 2017
Messages
64
Hi

I have a form with a command button that opens another form (DoCmd.OpenForm "from"). When the new form is closed all the forms behind it have become un-maximised (is there a correct term for that?)

As standard on all my forms in the "onload" event, I include a DoCmd.Maxmise.

Running the command in debug mode it seems to show the un-maximising happens while the new form is opening. (But debug mode does tend to do odd things with other open forms)

This is in a project with over 50 forms which open in many different ways but nowhere else in this project (on any other) have seen this happen before, There is as far as I can see nothing different from my usual practice.

Any ideas?
 

ontopofmalvern

Registered User.
Local time
Today, 08:51
Joined
Mar 24, 2017
Messages
64
I believe I have solved this.

But don't know why. I was reading some related threads and altered a few of the form properties in particular on the form that opens the second form changing "Min and Max Buttons" from "None" to "Max Enabled", I see the connection but don't understand why that should affect it.

Solved, but confused.
 

isladogs

MVP / VIP
Local time
Today, 08:51
Joined
Jan 14, 2017
Messages
18,239
I think you mean 'restore'
 

Users who are viewing this thread

Top Bottom