Resize a form

  • Thread starter Thread starter keri
  • Start date Start date
K

keri

Hi,

This is a really simple problem but I cannot solve it!

I have a pop up modal form that I want to set the width to 15cm. When I
open the form t is wider than the visible screen.

If i try to change the width in the properties of the form I can type
in the width I require, but it snaps back to showing 20cm after I have
entered it.

This is very frustrating so i'd appreciate if someone can point out
what i am doing wrong!
 
a) What happens if You try to do this when the form is opened in normal
mode; does it still show itself with a width of 20 cm?
b) Is it a form originally created by You or by somebody else; it is
possible to make a form 'readonly' (so that any changes will be undone).

Yours friendly,

Hans Heezemans
 
keri said:
Hi,

This is a really simple problem but I cannot solve it!

I have a pop up modal form that I want to set the width to 15cm. When
I open the form t is wider than the visible screen.

If i try to change the width in the properties of the form I can type
in the width I require, but it snaps back to showing 20cm after I have
entered it.

This is very frustrating so i'd appreciate if someone can point out
what i am doing wrong!

Sounds like you have an object positioned out past the 15 cm boundary. You
cannot make a form section smaller than the area occupied by any objects on the
form. The object could be very small or it could be a vertical line making it
difficult to see.

Now, you can make the *window* that the form is displayed in smaller than the
form, but the size of the form itself is determined by the size of the sections.
If you have AutoResize set to Yes then upon opening the window will
automatically size itself to match the size of the form.
 
OK, I have checked and moved all objects well away from the edge of the
form. In the width box of the properties I can now set this to 15 but
still when the form is opened it is wider than the page.

So I presume this is a window size setting - how can I change this?

Thanks for the help so far.
 
keri said:
OK, I have checked and moved all objects well away from the edge of
the form. In the width box of the properties I can now set this to 15
but still when the form is opened it is wider than the page.

So I presume this is a window size setting - how can I change this?

Thanks for the help so far.

Did you close the form completely and then re-open it or just go to normal view
from design view? When doing the latter the windows size will not change from
what it was in design view.

If you set AutoResize to yes, completely close the form and then reopen it, then
the window size should conform to the form size.
 
Hi Keri,

Look for an object on the form whose right edge is more than 15cm from
the left edge of the form.

It could have happened as a result of a horizontal line at the top or
bottom of a section being selected accidentally when moving other
controls. Using Select All can make it easier to spot such things.
 
This is PROBABLY happening because there is a control on the right side of
the form which extends out to 20cm....
 
Thanks everyone for the help.

I did have a control extending out, but this continued to happen after
I had changed this. However when I completly closed the form and
re-opened it worked perfectly - as explained above.

Thanks again to you all for your time.
 

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

Similar Threads

Form resize event 4
Form Width 4
Position 2nd Form according to 1st Form 1
On Resize 4
How to diable main Access window 1
Shrink a form to print on one page wide 3
Resize Pop Up Form 4
Close on Lost Focus 2

Back
Top