Prevent form from starting maximized

  • Thread starter Thread starter Pic
  • Start date Start date
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
 
Pic

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

Tom
 
I just tried that, but I don't know what lines should precede it. Can
you help? Thanks again.
 
Autocenter and resize were already on true. Putting popup on true
simply turned the form into a full-screen popup. Thanks anyway.
 
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
 
Back
Top