Database Reference
In-Depth Information
21
Click the original Country text box control, and press Delete to delete the control
and its associated label. Then move the new combo box and label into their places,
sizing them as needed.
TIP To ensure that new controls are aligned with existing controls, you can click an
existing control and make a note of its Width, Height, Top, and Left properties. Then
use whichever of those settings is relevant to fine-tune the new control. You can also
use the Arrow keys to nudge the controls into place.
22
Shrink the size of the Detail section until it is only as tall as it needs to be to hold its
controls. Also shrink the width of the form so that the contents of all the sections fit
neatly.
Let's draw a dark green line across the form, below the Phone control, and make sure
that no matter what size the program window is, the line always stretches across the
width of the form.
23
If the entire form design grid is not visible, close the Property Sheet pane. Then
from the Design tool tab, display the Controls gallery, click the Line thumbnail, and
drag a line across the width of the form design grid to separate the name and phone
number information from the address.
24
If the Property Sheet pane is closed, open it, and set the Height property to 0 and
the Border Width property to 2 pt . Then close the pane.
8
TIP Setting the height to 0 does not make the line invisible; it ensures that the line is
straight.
25
With the line still selected, on the Format tool tab, in the Control Formatting group,
click the Shape Outline button, and set the line color to the same dark green color as
the title in the Form Header section.
26
On the Arrange tool tab, in the Position group, click the Anchoring button to display
the Anchoring gallery.
 
Search WWH ::




Custom Search