Module
Contents
Index 🔎︎
\<bookmark_value\>more controls\</bookmark_value\>\<bookmark_value\>option field creation\</bookmark_value\>\<bookmark_value\>group box creation\</bookmark_value\>\<bookmark_value\>image button creation\</bookmark_value\>\<bookmark_value\>image control creation\</bookmark_value\>\<bookmark_value\>file selection button\</bookmark_value\>\<bookmark_value\>date fields; creating\</bookmark_value\>\<bookmark_value\>time fields; form functions\</bookmark_value\>\<bookmark_value\>numerical fields in forms\</bookmark_value\>\<bookmark_value\>formatted fields; form functions\</bookmark_value\>\<bookmark_value\>currency field creation\</bookmark_value\>\<bookmark_value\>pattern fields; form functions\</bookmark_value\>\<bookmark_value\>table controls; form functions\</bookmark_value\>\<bookmark_value\>grid controls; form functions\</bookmark_value\>\<bookmark_value\>controls; focus\</bookmark_value\>\<bookmark_value\>focus of controls\</bookmark_value\>\<bookmark_value\>forms; focus after opening\</bookmark_value\>\<bookmark_value\>automatic control focus\</bookmark_value\>\<bookmark_value\>spin button creation\</bookmark_value\>\<bookmark_value\>scrollbars;controls\</bookmark_value\>\<bookmark_value\>Navigation bar;controls\</bookmark_value\>

# More Controls

The More Controls toolbar opens when you click the More Controls icon on the Form Controls toolbar.

## Spin Button

Creates a spin button.

If you add a spin button to a Calc spreadsheet, you can use the Data tab page to create a two-way link between the spin button and a cell. As a result, when you change the contents of a cell, the contents of the spin button are updated. Conversely, if you change the value of the spin button, the contents of the cell are updated.

## Scrollbar

Creates a scrollbar.

You can specify the following properties for a scrollbar:

UI name | Semantics
Scroll value min | Specifies the minimum height or the minimum width of a scrollbar.
Scroll value max | Specifies the maximum height or the maximum width of a scrollbar.
Default scroll value | Specifies the default value of a scrollbar, used when the form is reset.
Orientation | Specifies the orientation of a scrollbar, that is, horizontal or vertical.
Small change | Specifies the minimum amount by which you can scroll a scrollbar, for example, by clicking an arrow.
Large change | Specifies the amount that a large step scrolls a scrollbar, for example, when you click between the scrollbar thumb and a scrollbar arrow.
Delay | Specifies the delay in milliseconds between scrollbar trigger events. For example, the delay that occurs when you click an arrow button on the scrollbar and hold down the mouse button.
Symbol color | Specifies the color of the arrows on the scrollbar.
Visible Size | Specifies the size of the scrollbar thumb in "value units". For example, a value of ("Scroll value max." minus "Scroll value min.") / 2 results in a scrollbar thumb that occupies half of the scrollbar. To make the width of the scrollbar equal to the height of the scrollbar, set the Visible Size to zero.

In a Calc spreadsheet, you can use the Data tab page to create a two-way link between a scrollbar and a cell.

## Image Button

Creates a button displayed as an image. Aside from the graphic representation, an image button has the same properties as a "normal" button.

## Image Control

Creates an image control. It can only be used to add images from a database. In the form document, double-click one of these controls to open the Insert Graphic dialog to insert the image. There is also a context menu (not in design mode) with commands for inserting and deleting the image.

Images from a database can be displayed in a form, and new images can be inserted in the database as long as the image control is not write-protected. The control must refer to a database field of the image type. Therefore, enter the data field into the properties window on the \<emph\>Data\</emph\> tab page.

## Date Field

Creates a date field. If the form is linked to a database, the date values can be adopted from the database.

If you assign the "Dropdown" property to the date field, the user can open a calendar to select a date under the date field. This also applies to a date field within a Table Control field.

Date fields can be easily edited by the user with the up arrow and down arrow keys. Depending on the cursor position, the day, month, or the year is can be increased or decreased using the arrow keys.

Specific Remarks on Date Fields.

## Time Field

Creates a time field. If the form is linked to a database, the time values for the form can be adopted from the database.

Time fields can be easily edited by the user with the up and down arrow keys. Depending on the cursor position, the hours, minutes, or the seconds are increased or decreased using the arrow keys.

## File Selection

Creates a button that enables file selection.

## Numerical Field

Creates a numerical field. If the form is linked to a database, the numerical values in the form can be adopted from the database.

## Currency Field

Creates a currency field. If the form is linked to a database, the currency field contents for in the form can be adopted from the database.

## Pattern Field

Creates a pattern field. Pattern fields consist of an edit mask and a literal mask. The edit mask determines which data can be entered. The literal mask determines the contents of the pattern field when loading the form.

Please note that pattern fields are not exported into HTML format.

## Group Box

Creates a frame to visually group several controls. Group boxes allow you to group option buttons in a frame.

If you insert a group frame into the document, the Group Element Wizard starts, which allows you to easily create an option group.

Note: When you drag a group box over already existing controls and then want to select a control, you have to first open the context menu of the group box and choose Arrange - Send to Back. Then select the control while pressing CommandCtrl
.

Group boxes are used only for a visual effect. A functional grouping of option fields can be made through the name definition: under the Name properties of all option fields, enter the same name in order to group them.

## Table Control

Creates a table control to display a database table. If you create a new table control, the Table Element Wizard appears.

Special information about Table Controls.

## Navigation bar

Creates a Navigation bar.

The Navigation bar allows you to move through the records of a database or a database form. The controls on this Navigation bar work the same way as the controls on the default Navigation bar in LibreOffice.