Cannot size Access Dialog Form

I have a problem I cannot figure out. I have done this hundreds of times and never had a problem.

I create a form. I set the Border Style to "Sizable" and open the form. Then I adjust it to the size I want and close the form, saving it. Then, in design view, I change the Border Style to "Dialog". When I reopen the form, it is making the height approx 2 inches taller. I cannot get it to stay at the size I set it when in Sizable. This has never happened before.

Here is some additional information:

Auto resize Yes
Auto center Yes
Border size Sizeable

Then I manually set the size of the form when it is opened, then shut it down

Then changed the settings to

Auto resize Yes
Auto center Yes
Border size Dialog

Size does not stay.

I have look at everything I can think of and cannot find a reason for it to be changing size.

Any ideas?
GenesisTechAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Eric ShermanAccountant/DeveloperCommented:
Set Auto resize to No.

ET
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
DatabaseMX (Joe Anderson - Microsoft Access MVP)Database ArchitectCommented:
In the Form Load event, use the Form Move method to position the Form exactly where you want it.
And in this case,  set but Auto resize and Auto center to No

mx
0
DatabaseMX (Joe Anderson - Microsoft Access MVP)Database ArchitectCommented:
Move
Values are in Twips .... 1440 Twips/Inch

Private Sub Form_Load()
    Move Left:=1440 * 1, Top:=1440 * 1, Width:=1440 * 5, Height:=1440 * 6
End Sub

Position is 1 inch from Top and Left, and Form is 5 W x 6 H
0
GenesisTechAuthor Commented:
Thanks ET.

Strange because I do not ever remember needing to do that, BUT, when I changed it to no, it left the form at the size that I set it to.
I even tested it both ways and sure enough, it changes the size when Auto Resize is set to true.

Thanks again!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.