Kontrol Formulir
Bilah alat Kendali Formulir memuat alat-alat yang Anda perlukan untuk membuat suatu formulir interaktif. Anda dapat memakai bilah alat untuk menambah kendali ke suatu formulir dalam suatu dokumen teks, lembar kerja, presentasi, atau HTML, sebagai contoh sebuah tombol yang menjalankan suatu makro.

Dokumen Formulir XML (XForms) memakai kendali-kendali yang sama.
Untuk membuat sebuah formulir, buka sebuah dokumen dan gunakan bilah alat Kendali Formulir untuk menambahkan kendali-kendali formulir. Bila Anda mau, Anda juga dapat menaut formulir ke suatu basis data, sehingga Anda dapat memakai kendali-kendali untuk memanipulasi sebuah basis data.
Ketika Anda membuat sebuah formulir dalam suatu dokumen HTML, Anda dapat memakai formulir untuk mengirim data melalui Internet.

LibreOffice hanya mengekspor properti formulir yang didukung oleh versi HTML tujuan Anda mengekspor. Untuk menyatakan versi HTML, pilih LibreOffice - PreferensiAlat - Opsi - Muat/Simpan - Kompatibilitas HTML.
Untuk menambahkan suatu kendali ke sebuah dokumen
-
Pada bilah alat Kendali Formulir, klik ikon dari kendali yang ingin Anda tambahkan.
-
Dalam dokumen, seret untuk membuat kendali.
Untuk membuat sebuah ruas kendali bujur sangkar, tahan tombol Shift ketika Anda menyeret.

Untuk menambah suatu ruas dari daftar ruas dari suatu tabel atau kuiri ke suatu formulir, seret sebuah sel ke dalam formulir. Dalam suatu dokumen teks, Anda juga dapat menyeret sebuah kepala kolom untuk menambahkan sebuah ruas ke suatu formulir. Untuk menyertakan suatu label bagi ruas, tahan tombol CommandCtrl+Shift ketika Anda menyeret sebuah kepala kolom.
Mengubah suatu Kendali
-
Klik kanan kendali dan pilih Kendali. Suatu dialog terbuka dimana Anda dapat mendefinisikan properti kendali.
-
Untuk menyatakan suatu tombol pintasan bagi sebuah kendali, tambahkan tilde (~) di depan karakter dalam label bagi kendali.
-
Anda dapat menyeret dan menjatuhkan kendali dari satu dokumen ke dokumen lain. Anda juga dapat menyalin dan menempel kendali antar dokumen. Ketika Anda menyisipkan suatu kendali dari dokumen lain, LibreOffice menganalisis sumber data, tipe isi, dan properti isi dari kendali sehingga kendali pas dengan struktur lojik dalam dokumen target. Sebagai contoh, sebuah kendali yang menampilkan isi dari sebuah buku alamat terus menampilkan isi yang sama setelah Anda menyalin kendali ke dokumen yang berbeda. Anda dapat menilik properti ini pada halaman tab Data dari dialog Properti formulir.
Pilih
Ikon ini menukar penunjuk tetikus ke mode pilih, atau menonaktifkan mode ini. Mode pilih dipakai untuk memilih kendali dari formulir saat ini.
Kotak Cek
Membuat sebuah kotak contreng. Kotak contreng memungkinkan Anda mengaktifkan atau menonaktifkan suatu fungsi dalam sebuah formulir.
Kotak Teks
Membuat sebuah kotak teks. Kotak teks adalah ruas tempat pengguna dapat memasukkan teks. Dalam sebuah formulir, kotak teks menampilkan data atau memungkinkan masukan data baru.
Field Pemformatan
Membuat suatu ruas terformat. Sebuah ruas terformat adalah kotak teks dimana Anda dapat menentukan bagaimana masukan dan keluaran diformat, dan nilai pembatas mana yang berlaku.
Suatu ruas terformat memiliki properti kendali khusus (pilih Format - Kendali).
Tombol Tekan
Creates a push button. This function can be used to execute a command for a defined event, such as a mouse click.
You can apply text and graphics to these buttons.
Tombol Opsi
Creates an option button. Option buttons enable the user to choose one of several options. Option buttons with the same functionality are given the same name (Nameproperty). Normally, they are given a group box.
Kotak Daftar
Creates a list box. A list box lets users select an entry from a list. If the form is linked to a database and the database connection is active, the List Box Wizard will automatically appear after the list box is inserted in the document. This wizard helps you create the list box.
Kotak Kombo
Creates a combo box. A combo box is a single-line list box with a drop-down list from which users choose an option. You can assign the "read-only" property to the combo box so that users cannot enter other entries than those found in the list. If the form is bound to a database and the database connection is active, the Combo Box Wizard will automatically appear after you insert the combo box in the document.
Field Label
Creates a field for displaying text. These labels are only for displaying predefined text. Entries cannot be made in these fields.
More Controls
Opens the More Controls toolbar.
Desain Formulir
Opens the Form Design toolbar.
Wizards On/Off
Turns on and turns off the automatic form controls wizards.
These wizards help you to enter the properties of list boxes, table controls, and other controls.
Context Menu Commands
Tombol Opsi
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.
Batang Penggulung
Creates a scrollbar.
You can specify the following properties for a scrollbar:
UI name |
Semantics |
Nilai gulungan min. |
Specifies the minimum height or the minimum width of a scrollbar. |
Nilai gulungan maks. |
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. |
Orientasi |
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. |
Tunda |
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.
Tombol Gambar
Creates a button displayed as an image. Aside from the graphic representation, an image button has the same properties as a "normal" button.
Kontrol Gambar
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 Data tab page.
Field Data
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.
Field Waktu
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.
Seleksi Berkas
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.
Field Mata Uang
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.
Bagian Pola
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.
Kotak Grup
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.
Kendali Tabel
Membuat sebuah kendali tabel untuk menampilkan suatu tabel basis data. Bila Anda membuat sebuah kendali tabel baru, Wisaya Elemen Tabel muncul.
Informasi khusus tentang Kendali Tabel.
Bilah navigasi
Membuat sebuah bilah navigasi.
Bilah navigasi memungkinkan Anda berpindah-pindah antar rekaman dari suatu basis data atau sebuah formulir basis data. Kendali pada bilah navigasi ini bekerja dengan cara yang sama seperti kendali pada bilah navigasi baku dalam LibreOffice.
Fokus Kendali Otomatis
Bila Fokus Kendali Otomatis diaktifkan, kendali formulir pertama akan dipilih ketika Anda membuka dokumen. Bila tombol tak diaktifkan, teks akan dipilih setelah membuka. Urutan Tab yang telah Anda nyatakan menentukan mana yang menjadi kendali pertama formulir.