Difference between revisions of "Documentation/OOo3 User Guides/Writer Guide/Form controls reference"
From Apache OpenOffice Wiki
Clairedwood (Talk | contribs) (→Form Design toolbar) |
Clairedwood (Talk | contribs) (→Form Design toolbar) |
||
Line 154: | Line 154: | ||
|- | |- | ||
| [[Image:CH15_FormControlToolbar_Control.png]] Control | | [[Image:CH15_FormControlToolbar_Control.png]] Control | ||
− | | | + | | Launches form control properties dialog box. This dialog box can be kept open as different controls are selected. |
|- | |- | ||
− | | [[Image: | + | | [[Image:CH15_FormControlToolbar_Properties.png]] Form |
− | | | + | | Launches form properties dialog box, controlling properties for the form as a whole, such as which data source it connects to. |
|- | |- |
Revision as of 15:49, 6 June 2010
Form Control toolbar
Select | Select a form control to perform some other action on it. |
Design mode on/off | Toggles between design mode on (to edit forms) and design mode off (to use forms). |
Control | Launches form control properties dialog box. This dialog box can be kept open as different controls are selected. |
Form | Launches form properties dialog box, controlling properties for the form as a whole, such as which data source it connects to. |
Check Box | A box that can be selected or deselected on the form. You can label the box. |
Text Box | A control to create a box into which the form user can type any text. |
Formatted Field | A control allowing numeric formatting options. For example, you can set maximum and minimum values for the number entered, or the number type (decimal places, scientific, currency). |
Push Button | Creates a button that can be linked to a macro. The label is the name that appears on the button. |
Option Button | Creates an option button (also known as a radio button). When multiple buttons are grouped together, only one can be selected at a time. The easiest way to group multiple buttons is to use the Group Box button on the More Controls toolbar, with wizards enabled. |
List Box | Creates a list of options, as a pull-down menu, that the user can choose from. If wizards are on, creating a list box launches the List Box Wizard. This wizard is only useful if your form is linked to a data source.
If the form is not linked to a data source, turn wizards off and create an empty list box. Then click the control button and, in the List Entries option on the General tab, enter the options you want to appear on the list. |
Combo Box | As with a List Box, you set up a list of choices. In addition, a panel at the top either displays the choice made or allows the form user to type in something else. This works the same as the List Box. |
Label Field | A text label. The difference between this and just typing on the page is that, as a control, you can link a label field to macros so, for example, something happens when the mouse passes over it or clicks on it. |
More Controls | Launches the More Controls toolbar. |
Form Design | Launches the Form Design toolbar (which can also be opened with View > Toolbars > Form Design). |
Wizards On/Off | Some form controls (List Box and Combo Box) have optional wizards. If you do not want the wizard to launch when you create one of these controls, use the Wizards On/Off button to switch wizards off. |
More Controls toolbar
Form Design toolbar
Select | Selects a form control to perform an action on it. |
Design mode on/off | Toggles between design mode on (to edit forms) and design mode off (to use forms). |
Control | Launches form control properties dialog box. This dialog box can be kept open as different controls are selected. |
File:CH15 FormControlToolbar Properties.png Form | Launches form properties dialog box, controlling properties for the form as a whole, such as which data source it connects to. |
Form Navigator | The Form Navigator is a nice utility, displaying all the forms and controls in the current document, allowing you to edit and delete them easily.
If you use the Form Navigator, it's a good idea to give your controls names (in the properties dialog box). The name appears in the navigator so, for example, if you have ten text boxes, you can tell which is which. |
Add Field | Add Field is only useful if you have specified a data source for the form. If no data source is specified, an empty box opens.
If you have specified a data source, Add Field opens a list of all the fields in the specified table, which you can then drag and drop onto the page. The fields are placed on the page with the name of the field before them. This is a quick and easy way to create a form from a data source. |
Activation Order | Allows you to specify the order in which focus shifts between controls. You can test the order by leaving design mode and using Tab to switch between the controls. |
Open in Design Mode | Open the current form in design mode (to edit the form rather than entering data into it). |
Automatic Control Focus | If activated, focus is set to the first form control. |
Position and Size | Launches the Position and Size dialog box, allowing you to specify both by typing in precise values, rather than dragging the control. You can also lock the size or position, so they do not get changed accidentally. For some controls, you can rotate and set the slant and corner radius. |
Change Anchor | Just as with a frame, any form control can be anchored to page, paragraph or character and also anchored as a character (meaning that it behaves like any other character on the page). |
Alignment | The Alignment button is disabled unless the control is anchored as a character. You can align a control in different ways, for example so the top of the control lines up with the top of the text or the bottom lines up with the bottom of the text. |
Display Grid | Display a grid of dots on the page, to help you line up controls. |
Snap to Grid | When a control is brought close to a grid point or line, it will snap to the grid. This makes it easier to line up controls. |
Guides when Moving | When a control is being moved, lines extend from the control horizontally and vertically to help you position it accurately. |
Content on this page is licensed under the Creative Common Attribution 3.0 license (CC-BY). |