Prevent form from starting maximized

P

Pic

I just converted a database from Access 97 to Access 2003. It has a
menu (swtichboard) that is set to open on startup. It was designed to
open in a window, but since the conversion, this form opens maximized
no matter what I do to it. Setting the Autocenter property to yes has
no effect. Clicking the form's restore button puts it back to how it
ought to be, but it's a nuisance to have to do this every time I use
the database (and to explain it to everyone in my office that uses
it). This is driving me nuts!

Operating system is WinXP Pro, SP2.

Thanks in advance for any advice
Pic
 
T

Tom

Pic

Have you tried using Me.Restore as the lastline in On Load event of the
statrtup form

Tom
 
P

Pic

I just tried that, but I don't know what lines should precede it. Can
you help? Thanks again.
 
P

Pic

Autocenter and resize were already on true. Putting popup on true
simply turned the form into a full-screen popup. Thanks anyway.
 
T

Tom

Pic

I was assumuming that you already have some code in the On Load Event which
is causing the form to Maximise the form - hence the reference to the
lastline. If you don't have any code there just have the line on its
own.Alternatively you could try me.Restore as the lastline in the On Current
Event of the Switchform.

Tom
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top