Form size

G

gaugust

In Access 2003 I have a form with command buttons that allows the user to
view some charts. The form is sized using the command:
"DoCmd.MoveSize 3440, 680, 11000, 9150" in the On Open, On Resize and On
Activate events.
When one of the buttons on the form is selected and the chart is displayed
the user maximizes the chart. The problem that I am having is that once the
user closes the chart and returns to the form the form becomes maximized and
does not display using the dimensions of my movesize command. How can I can
the form to not maximize but stay at the dimensions of the movesize command.
Thanks.
 
K

KLZA

have you considered only using the on open event only? or do your
users require the form be maximized? you can also disable the
maximize button...

Try this

Private Sub Form_Open(Cancel As Integer)
DoCmd.MoveSize 5.06 3440, 680, 11000, 9150
End Sub
 
K

KLZA

You can disable the max button by selecting "Min Enabled" under Min
Max buttons property...
 

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