Justifying Controls

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

Guest

I have a frontend form which opens to cover the full screen. Is it possible
for me to set my buttons to align central to the screen? at the moment they
stay a fixed point from the left hand corner and so with different screens
the sit at differnt postions relative to the centre.

any help would be greatly appreciated.

regards,
James
 
James

Have you tried using the "Align" menu item (under Format) when your form is
in design mode?

Regards

Jeff Boyce
Microsoft Office/Access MVP
 
It's grey out unless i select more than one control and then all it does is
align them with each other
 
James

I'm not aware of a "center" tool (like Word has for text). But if you align
the command buttons to each other, then manually center the stack, would
that do it?

Regards

Jeff Boyce
Microsoft Office/Access MVP
 
JamesHall said:
I have a frontend form which opens to cover the full screen. Is it possible
for me to set my buttons to align central to the screen? at the moment
they
stay a fixed point from the left hand corner and so with different screens
the sit at differnt postions relative to the centre.

If I understand you correctly, you want to center the buttons on a
full-screen view of the Form, regardless of the screen size. Each Control
has Left, Top, Height, and Width properties. The Form, or the Section, has
similar properties. You can write VBA code to calculate appropriate new Left
and Top properties for each control, using these properties. If I have
misunderstood, please post back to clarify.

Larry Linson
 
Back
Top