Size of form at runtime

  • Thread starter Thread starter BobRoyAce
  • Start date Start date
B

BobRoyAce

What exactly that determines the size a form will show at at runtime? For
some reason, a form I'm working on appears larger (with 1" or so extra space
at bottom and right) at runtime than it does at design time. Additionally,
interestingly enough, if I resize the form to be even bigger than it was
appearing at run time, it shows the as the same size both at design and at
run time. Then, if I resize the form again to be about the same size as it
was originally, at runtime it appears at the biggie size! It's like it's
remembering the biggest dimensions or something and using them.
 
You likely want to set the forms auto-resize to No.

You can, and likely should keep the auto-center = yes.

The best solution to getting a form size JUST right is to set the forms
border to sizable.

You then bring up the form in NORMAL MODE (NOT design mode!). Now, re-size
the form to look EXACTLY as you want. Now, whack ctrl-s. You are now free to
continue design changes to the form as long as you do no re-size the
form..it will stay as you designed it. I also once I get the form just
right, then change the forms board style to thin. That way, your users CAN
NOT re-size the form. and, in fact, even you can't when viewing the form in
normal use mode.

I used the above approach for years...and it works well.
 
Back
Top