Note
The table wizard in Base contains suggested fields which are single
words, often consisting of two separate words. Table names in the wizard
have been that way also. However, you can use multiple words as the
name of a field, label, or table. We will do so when we create a list box for
each of the payment type controls.
1) Control+click the SnackNo label. Do one of the following:
• Right-click the SnackNo label and select Control from the pop-up menu.
• Or, click the Control icon in the Form Control toolbar (Figure 194).
2) The dialog that opens is labeled Properties: Label Field. It contains all of the
properties of the selected label.
• In the Label selection, edit the label to Snack No.
• Close the Properties dialog.
3) Use the same procedure to change these labels as well: BPayment to Payment,
LPayment to Payment, SPayment to Payment, Miscellaneous to Misc.,
SnackCost to Snack Cost, MPayment to Payment, MiscPayment to Misc.
Payment, and MiscNotes to Misc. Notes.
Tip
You can modify all of the listings in the Properties window. For example, if
you change the Alignment from Left to Center, the word or words in the
label are centered within the label. When you have some time, you might
want to experiment with different settings just to see the results you get.
Step 5: Change the widths of the labels and fields.
We want the following controls to be 2 cm wide (0.8 inches): Breakfast, Lunch,
Supper, Odometer, Snack No., Tolls, Snack Cost, Motel, and Misc. All of the payment
fields were changed in step 2, but Misc. Payment needs to be changed to 3 cm (1.2
inches).
1) Right-click Breakfast and choose Position and Size. On the Position and Size
dialog, change Width to 2 cm.
2) Repeat for the other listed controls, using 3 cm for Misc.Payment.
Caution
When changing the position or size of an entire control, use the Position
and Size dialog or the drag and drop method.
When working with either the label or the field (but not both at the same
time), you can use the Properties dialog to make these changes when
you want to be exact. However, you need to be careful not to
accidentally select the entire control for use with the Properties dialog
or you will apply the exact same values to both the label and field. For
example, if you enter the values for a new position, both the field and
the label moves to the same position and the field is positioned on top of
the label. Then you have to move each of them to where you want them.
Note
To open the Properties window, right-click a control and select Control
from the pop-up menu. Or, you can click the Control icon in the Form
Controls toolbar. Just be careful, and use Control+Z to undo any
mistakes you may make. Detailed instructions on how to use the
Properties window will be in the Base Guide.
222 Getting Started with OpenOffice.org 3.3
Comentarios a estos manuales