More Controls toolbar
Spin Button
Allows form users to choose a number by cycling
through the list of numbers. You can specify maximum,
minimum, default, and the step between numbers.
This control is not commonly used in Writer, as the
number is not displayed. In Calc, however, a Data tab
appears on the Control Properties dialog box, so you
can link the spin button to a cell.
Scrollbar
Creates a scrollbar, with a number of options to define
the exact appearance.
This control is not commonly used in Writer. In Calc, a
Data tab appears on the Control Properties dialog box,
allowing you to link the scroll bar to a cell.
Image Button
Behaves exactly like a push button, but displays as an
image. Choose the image in the Graphics option on the
General tab in the Control Properties dialog box.
Image Control
Only useful when the form is connected to a data
source and a field in the data source exists that can
hold images. You can add new images to the database
or retrieve and display images from it.
Date Field
Stores a date. You need to configure the earliest and
latest dates the field will accept, the default date, and
the date format. You can add a spinner.
Time Field
Works like a date field but specifies a time.
File Selection
Allows a user to select a file, either by typing the path
and name directly or by clicking on a Browse button
and choosing the file from a dialog box.
Numeric Field
Displays a number. You need to specify formatting,
maximum, minimum and default values. You can add a
spinner.
Currency Field
Works like a numeric field; additionally you can add a
currency symbol.
Pattern Field
Pattern fields are useful when the form links into a data
source. Specify an Edit Mask to restrict what a user
can enter into the field. Specify a Literal Mask to
restrict which data is displayed from the data source.
Group Box
The group box control has two different uses
depending on whether wizards are on or off.
If wizards are on, creating a group box launches the
Group Element wizard. This creates a group of options
buttons (in which only one may be selected at a time).
In most cases, using a group box is the best way to
create a set of option buttons.
If wizards are off, a group box is simply a visual box to
group together different controls. It has no effect on
the way the controls operate.
Chapter 15 Using Forms in Writer 415
Comentarios a estos manuales