Form Width Grows

K

Kaykayme

I have Access 2007 and am using the anchor feature on some of my controls. I
have the form set at popup=true, auto center=true, auto resize=false, fit to
screen=false, border style=thin, moveable=true and the windows are set to
overlapped instead of tabbed. I set the form to the exact size that I want
it and saved it before setting the border style=thin and popup=true. The
form initially has the correct size but overtime the form begins to get
wider. After some time of opening it I eventually have to go in and reset
the form's width. This is happening on several of my forms with the same
settings. Is there something I am overlooking?

Thanks for your help with annoying problem.
 
T

TekWarrior

Try Popu=False, I think that may be your issue, but I would have to test and
don't have Access to my Access 2007 right now (no pun intended).
 
M

Mark Andrews

I can't remember if that is a pre SP2 bug or not? However if all else fails
resort to something like this:

Private Sub Form_Open(Cancel As Integer)
DoCmd.MoveSize 0.7 * 1440, 0.7 * 1440, 8 * 1440, 6 * 1440

End Sub
 
K

Kaykayme

Thank you for your help. As I mentioned before this happens on several of my
forms. Some of the forms are set popup=false and I still have the problem.
 
K

Kaykayme

Thank you Mark. Does this docmd limit the size of the form to only these
specifications or is this generic? If specific I would have to include this
code for every form to meet it's specific size. There must be an easier way.
 
M

Mark Andrews

It's specific, but will work. Only use if you can't get Access to remember
the form size. Do you have SP2?
 

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