Group:  Microsoft Access ยป microsoft.public.access.forms
Thread: Keeping Form Maximized

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

Keeping Form Maximized
Sprinks 29.09.2006 20:22:01
From a maximized form, a button opens a 2nd form which is maximized in its
OnOpen event. When it is closed, the first form is no longer maximized, with
the database window visible beneath.

Adding a DoCmd.Maximize works in the OnActivate event procedure, however,
the DB window is still briefly visible.

Can anyone tell me how to return to the maximized form?

Thank you.
Sprinks

Re: Keeping Form Maximized
Steve Schapel <schapel[ at ]mvps.org.ns> 30.09.2006 18:35:18
Sprinks,

If the first form is maximized, I would expect that the 2nd form would
automatically be maximized too, without you needing to explicitly do so
in its Open event. This makes me wonder whether there is a Restore
method used somewhere in the process?

--
Steve Schapel, Microsoft Access MVP

Sprinks wrote:
[Quoted Text]
> From a maximized form, a button opens a 2nd form which is maximized in its
> OnOpen event. When it is closed, the first form is no longer maximized, with
> the database window visible beneath.
>
> Adding a DoCmd.Maximize works in the OnActivate event procedure, however,
> the DB window is still briefly visible.
>
> Can anyone tell me how to return to the maximized form?
>
> Thank you.
> Sprinks
>

Home | Search | Terms | Imprint | Contact
Newsgroups Reader - provided by WiredBox.Net