Microsoft Office Tutorials and References
In Depth Information
Breaking Out of the Control Layout
You can format the contents of Short Text, Long Text, and Hyperlink fields a
bit, mainly by controlling capitalization. Book II, Chapter 1 lets you in on
how to display text in uppercase or lowercase, limit what you type to a
certain number of characters, and add preset characters to a field (such as
dashes or parentheses in phone numbers); you find out what magic
characters to type in the Format property of your text box. For other types of
formatting, such as fonts and colors, see “Choosing Fonts, Colors, and Other
Decorative Touches,” later in this chapter. Chapter 3 of this minibook
explains ways to make your text boxes smarter, starting with understanding
preset default values and validating the information that people type.
Displaying Number, Currency, and Date fields
Number, Currency, and Date fields appear in text boxes, too, just like Short
Text and Long Text fields. You create text box controls to display Number,
Currency, and Date fields the same way you create them for Text fields,
using the field list or button in the Controls group on the Design tab of
the Ribbon.
Breaking Out of the Control Layout
In Chapter 1 of this minibook, we talk about using Layout view to arrange
your controls. In Layout view, you can use a control layout to move your
controls into neat rows and columns. Control layouts, however, insist that
your controls appear in rows and columns, which isn’t always where you
want them. For forms that include fields for an address, for example, we
like to use one label (something like City, State Zip) followed by three text
boxes for the fields that contain the city, state/province, and zip code or
postcode. You may want to tighten the design in lots of little ways, as shown
in Figure 2-7. That’s not possible in a control layout.
Figure 2-7:
What if
you don’t
want your
controls to
appear in
rows and
Search JabSto ::

Custom Search