Lesson9.2.Changing Text Alignment


Lesson 9.2. Changing Text Alignment

Figure 9-3. Examples of different alignment options.


Figure 9-4. The alignment buttons on the toolbar only affect how text is aligned inside a control. You have to manually align a control to the left, center, or right of a form or report by clicking and dragging.


This lesson explains how to align a control's text to the left, center, or right. Figure 9-3 gives a better idea of what the various alignments look like. Alignment only affects what's inside of a control: If you apply center formatting to a text box, Access will center the text inside the text boxit won't center the text box control on the form or report, as shown in Figure 9-4. If you want to align a control to the left, center, or right of a form or report, you'll have to do it the old-fashioned wayby clicking and dragging the control.

  1. Make sure that the rptTourSales report is open in Design view.

    Again, you first need to select the control you want to format.

  2. Select the Date text label in the Page Header and click the Center button on the Formatting toolbar.

    Access centers the text inside the Date text label. Easy, isn't it? Let's try one more control.

  3. Click the TourName text label in the Page Header and click the Align Right button on the Formatting toolbar.

    Access right-aligns the text inside the TourName text label.

  4. Click the Save button to save your changes to the report.

    Table 9-2 shows the alignment formatting buttons on the formatting toolbar.

QUICK REFERENCE

TO CHANGE TEXT ALIGNMENT:

  • SELECT THE CONTROL AND CLICK THE ALIGN LEFT, CENTER, OR ALIGN RIGHT BUTTON ON THE FORMATTING TOOLBAR.


Table 9-2. Alignment Formatting Buttons on the Formatting Toolbar

Button Name

Example

Formatting

Left

Aligns text to the left side of the control.

Center

Centers text in a control.

Right

Aligns text to the right side of the control.




CustomGuide Inc - Access 2003 Personal Trainer
Access 2003 Personal Trainer (Personal Trainer (OReilly))
ISBN: 0596009372
EAN: 2147483647
Year: 2005
Pages: 209

Similar book on Amazon

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net