Form loses its height

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello -

I am running Windows 2000, Access 2002. I have a form that continally loses
its height, hiding buttons. I set the height in the Detail, but it doesn't
seem to help. I find it strange that in the Form properties, there is
nothing for Height, although they do have width.

I have the border set to Dialog. Any suggestions on how to fix this?
 
The form does not have a Height because its height is defined as the sum of
the height of its sections.

To set the height of the form (and the location where it should appear on
screen):

1. Open the form in its normal view (not design view, and not maximized),
and move it up enough that the entire form will fit on any screen resolution
you need to use.

2. Choose Size to Fit from the Window menu.

3. Switch the form to Design view.

4. Make some design change (such as changing the name of a label) so Access
knows it has something to save.

5. Save.
 
Thanks, Allen!
--
Sandy


Allen Browne said:
The form does not have a Height because its height is defined as the sum of
the height of its sections.

To set the height of the form (and the location where it should appear on
screen):

1. Open the form in its normal view (not design view, and not maximized),
and move it up enough that the entire form will fit on any screen resolution
you need to use.

2. Choose Size to Fit from the Window menu.

3. Switch the form to Design view.

4. Make some design change (such as changing the name of a label) so Access
knows it has something to save.

5. Save.
 
Allen -

Well, that worked beautifully as long as I stayed in the same instance of
the database. I copied it to a different folder and it lost its setting
again.

I did reset it, but I'm wondering what is going to happen when I put this on
the users machines using an MDE.

Do you know what's causing this? Is there some way I can fix the height in
code when the form is loaded?
 
Sandy, you only need to do once. Provided you save the form that way, and
then do not do any more design changes without doing it again, the form will
open at the correct size, in the correct location. So if you create your MDE
with all the forms like that, you never have to worry about them being
wrong.
 
Thanks, Allen!
--
Sandy


Allen Browne said:
Sandy, you only need to do once. Provided you save the form that way, and
then do not do any more design changes without doing it again, the form will
open at the correct size, in the correct location. So if you create your MDE
with all the forms like that, you never have to worry about them being
wrong.
 
Back
Top