How control placement of form footer?

C

Charlotte

How to arrange for my form footer to appear directly
underneath my detail section? There is currently a large
gap. This does not appear in design view. I tried changing
the height of the detail section but it has no effect.
There is no height property on the form.
This is driving me crazy. Is it possible?
I have my command buttons in the footer and I need them
underneath the detail section of my tabbed form.
 
C

Chadlon

Form resizing can get a bit complex/unsatisfactory.

A sequence that usually works is:
- in Design View, ensure that Detail section Height is what you want it to
be, and that Form Width is correctly set.
- in Design View, ensure that the Resize event processing is either not
present or disabled
- (and this step is important) now change from Design View to Form View
- menu bar Windows | Size to fit form (for this to be active, the form must
not be maximised)
- menu bar File | Save

That set of steps is more likely to result in the correct dimensions being
saved than most other methods. It is usually crucial that the form is opened
via design view for the resizing to be persistent. If the form is opened
directly into Form View sometimes the resizing does not 'stick' - i.e. it
appears to happen but next time you open the form the wrong size is
displayed.

Other concerns...
- all of the above counts for nothing if the user 'maximises' the form -
then the same effect will occur, namely the header and detail sections will
be up in the top left hand corner of the screen and the footer will be down
at the bottom. If you really really don't want them to do that, then look at
the form property MinMaxButtons.
- the form also has properties AutoCenter and AutoResize. You need to
check out the effect on your form of varying these settings. Initially, it
will help you to have them both set to No til you work out what's going on.
Then you can start to experiment.

As a different approach, consider putting the (relevant) buttons in the
Detail section below the Tabbed control, or even in the control.? (If the
button logic is that closely allied to the tabbed control, then maybe the
button should be part of the control contents - if it is tab page-specific).
That would at least get round the Min Max problem while keeping the
orientation / relative position you want. Equally, it might upset the form
aesthetics. Anyway, another option.

Good luck
CD
 
S

Steve Schapel

Charlotte,

It sounds like you might have your form Maximized. In this case, the
form footer will appear at the bottom of the screen. Try setting the
AutoResize property of the form to Yes, and don't Maximize it.

- Steve Schapel, Microsoft Access MVP
 

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