Microsoft Office Tutorials and References
In Depth Information
After moving and resizing the ContractType controls
Trouble? It won’t cause any problems if the two ContractType controls on your
screen are in slightly different positions than the ones shown in the figure or your
ContractType text box is not exactly the same size.
You do not usually need to change the default settings for the Control Margins
property , which controls the spacing around the text inside a control, and the
Control Padding property , which controls the spacing around the outside of a
control. However, you’ll show Sarah the effects of changing these properties.
8. Click one of the controls in the stacked layout, click the layout selector to
select all controls in the stacked layout, click the Control Margins button in the
Control Layout group, and then click Medium . The text inside the stacked layout
controls moves down and to the right.
9. Click the Control Margins button, click Wide and observe the effect of this setting
on the text inside the controls, click the Control Margins button, click None and
observe the effect of this setting, click the Control Margins button, and then click
Narrow . Narrow is the default setting for the Control Margins property.
Narrow is also the default setting for the Control Padding property.
10. In the Control Layout group, click the Control Padding button, click Medium and
observe the change to the spacing around the controls, and then repeat for the
other settings of this property, making sure you set the property to Narrow as
your final step.
Next, you’ll show Sarah how to anchor controls.
Anchoring Controls in a Form
You can design attractive forms that use the screen dimensions effectively when all the
users of a database have the same sized monitors and use the same screen resolution.
How do you design attractive forms when users have a variety of monitor sizes and
screen resolutions? If you design a form to fit on large monitors using high screen resolu-
tions, then only a portion of the controls in the form fit on smaller monitors with lower
resolutions, forcing users to scroll the form. If you design a form to fit on small monitors
with low screen resolutions, then the form is displayed on larger monitors in a small area
in the upper-left corner of the screen, making the form look unattractively cramped. As a
compromise, you can anchor the controls in the form. The Anchor property for a control