A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Why do forms sometimes minimize on their own?



 
 
Thread Tools Display Modes
  #1  
Old December 30th, 2007, 05:11 AM posted to microsoft.public.access.forms
Robert[_6_]
external usenet poster
 
Posts: 189
Default Why do forms sometimes minimize on their own?

I have 2 forms. The first one is opened with docmd.maximize. I click on a
button on this form which opens a second form. I do some stuff and then I
close the second form. The first form is still there but it appears as if
it has shrunk some and is not maximized in the database pane. How can I
correct this?

Robert



  #2  
Old December 30th, 2007, 08:46 AM posted to microsoft.public.access.forms
Baz[_3_]
external usenet poster
 
Posts: 96
Default Why do forms sometimes minimize on their own?

The standard Windows behaviour for an MDI application (which is what Access
is) is that *all* windows are maximised, or they are *all* 'normal'. If you
'restore' a maximised window to it's 'normal' size, then all other maximised
windows will automatically be restored at the same time.


"Robert" wrote in message
...
I have 2 forms. The first one is opened with docmd.maximize. I click on a
button on this form which opens a second form. I do some stuff and then I
close the second form. The first form is still there but it appears as if
it has shrunk some and is not maximized in the database pane. How can I
correct this?

Robert




  #3  
Old December 30th, 2007, 01:33 PM posted to microsoft.public.access.forms
Robert[_6_]
external usenet poster
 
Posts: 189
Default Why do forms sometimes minimize on their own?

So how do I correct it? My form appears to go to normal just by opening
another form. All of my forms have docmd.maximize in the on open event.

"Baz" wrote in message
...
The standard Windows behaviour for an MDI application (which is what
Access is) is that *all* windows are maximised, or they are *all*
'normal'. If you 'restore' a maximised window to it's 'normal' size, then
all other maximised windows will automatically be restored at the same
time.


"Robert" wrote in message
...
I have 2 forms. The first one is opened with docmd.maximize. I click on
a button on this form which opens a second form. I do some stuff and then
I close the second form. The first form is still there but it appears as
if it has shrunk some and is not maximized in the database pane. How can
I correct this?

Robert








  #4  
Old December 31st, 2007, 09:14 AM posted to microsoft.public.access.forms
Baz[_3_]
external usenet poster
 
Posts: 96
Default Why do forms sometimes minimize on their own?

Does the second form open maximised? Is the first form "restored" as soon
as the second form opens, or does it happen later? If you are not
"manually" restoring any windows, have you got some code somewhere that is
doing it i.e. a DoCmd.Restore statement?

Generally you can't rely on anything staying maximised, it might be better
to size your forms so that they open in a suitable size in their "normal"
state.

"Robert" wrote in message
...
So how do I correct it? My form appears to go to normal just by opening
another form. All of my forms have docmd.maximize in the on open event.

"Baz" wrote in message
...
The standard Windows behaviour for an MDI application (which is what
Access is) is that *all* windows are maximised, or they are *all*
'normal'. If you 'restore' a maximised window to it's 'normal' size,
then all other maximised windows will automatically be restored at the
same time.


"Robert" wrote in message
...
I have 2 forms. The first one is opened with docmd.maximize. I click on
a button on this form which opens a second form. I do some stuff and
then I close the second form. The first form is still there but it
appears as if it has shrunk some and is not maximized in the database
pane. How can I correct this?

Robert










  #5  
Old January 1st, 2008, 04:59 PM posted to microsoft.public.access.forms
Robert[_6_]
external usenet poster
 
Posts: 189
Default Why do forms sometimes minimize on their own?

Yes, yes, and no. (AFAIK)

There doesn't appear to be any restoring of any form. I solved the problem
by putting a maximize in the On Activate event, though I don't know why it's
necessary.

"Baz" wrote in message
...
Does the second form open maximised? Is the first form "restored" as soon
as the second form opens, or does it happen later? If you are not
"manually" restoring any windows, have you got some code somewhere that is
doing it i.e. a DoCmd.Restore statement?

Generally you can't rely on anything staying maximised, it might be better
to size your forms so that they open in a suitable size in their "normal"
state.

"Robert" wrote in message
...
So how do I correct it? My form appears to go to normal just by opening
another form. All of my forms have docmd.maximize in the on open event.

"Baz" wrote in message
...
The standard Windows behaviour for an MDI application (which is what
Access is) is that *all* windows are maximised, or they are *all*
'normal'. If you 'restore' a maximised window to it's 'normal' size,
then all other maximised windows will automatically be restored at the
same time.


"Robert" wrote in message
...
I have 2 forms. The first one is opened with docmd.maximize. I click
on a button on this form which opens a second form. I do some stuff and
then I close the second form. The first form is still there but it
appears as if it has shrunk some and is not maximized in the database
pane. How can I correct this?

Robert














 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 11:04 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.