General

This General tab enables you to define the general properties of a form control. These properties differ, depending on the control type. Not all of the following properties are available for every control.

Per accedir a esta orde...

Open context menu of a selected form element - choose Control - General tab.

Open Form Controls toolbar or Form Design toolbar, click Control icon - General tab.


Icona de nota

If you export the current form document to HTML format, the default control values are exported, not the current control values. Default values are determined - depending on the type of control - by the properties' Default value (for example, in text fields), Default status (for check boxes and option fields), and Default selection (for list boxes).


Acció

You can use navigation actions to design your own database navigation buttons.

The following table describes the actions that you can assign to a button:

Acció

Descripció

Cap

No succeeix cap acció.

Envia el formulari

Sends the data that is entered in other control fields of the current form to the address that is specified in Form Properties under URL.

Introdueix l'URL al quadre de text "URL" de les propietats de dades del formulari quan exporteu a un fitxer PDF.

Reinicialitza el formulari

Resets the settings in other control fields to the predefined defaults: Default Status, Default Selection, Default Value.

Obri el document o la pàgina web

Obri l'URL indicat a URL. Podeu utilitzar Marc per indicar el marc de destinació.

Primer registre

Mou el formulari actual al primer registre.

Registre anterior

Mou el formulari actual al registre anterior.

Registre següent

Mou el formulari actual al registre següent.

Últim registre

Mou el formulari actual cap a l'últim registre.

Guarda el registre

Guarda el registre actual, si cal.

Desfés la introducció de dades

Inverteix els canvis del registre actual.

Registre nou

Mou el formulari actual a la fila d'inserció.

Suprimeix el registre

Suprimeix el registre actual.

Refresca el formulari

Torna a carregar la versió guardada més recentment del formulari actual.


Actuació en un registre

Specifies to show or hide the action items in a selected Navigation bar control. Action items are the following: Save record, Undo, New record, Delete record, Refresh.

Agafa el focus quan es faça clic

If you set this option to "Yes", the Push button receives the focus when you click the button.

Alineació/alineació de gràfics

Les opcions d'alineació són esquerra, dreta i centre. Estes opcions estan disponibles per als elements següents:

  1. Title of Label fields,

  2. Content of text fields,

  3. Content of table fields in the columns of a table control,

  4. Graphics or text that are used in buttons.

    Icona de nota

    L'opció Alineació per a botons s'anomena Alineació de gràfics.


Alçària

Defineix l'alçària del control.

Alçària de la fila

In table controls, enter a value for the row height. If you want, you can enter a value followed by valid measurement unit, for example, 2 cm.

Amaga la selecció

Specifies whether a text selection on a control remains selected when a the focus is no longer on a control. If you set Hide selection to "No", the selected text remains selected when the focus is no longer on the control that contains the text.

Amplària

Sets the column width in the table control field in the units that are specified in the LibreOfficeDev module options. If you want, you can enter a value followed by a valid measurement unit, for example, 2 cm.

Amplària

Defineix l'amplària del control.

Ancoratge

Defineix on serà ancorat el control.

Aturada de tabulació

The "Tabstop" property determines if a control field can be selected with the Tab key. The following options are available:

No

When using the Tab key, focusing skips the control.

The control can be selected with the Tab key.


Barra de desplaçament

Afig el tipus de barra de desplaçament que indiqueu a un quadre de text.

Barra de navegació

Specifies whether to display the Navigation bar on the lower border of table controls.

Botó de selecció de valors

Els camps numèrics, els camps de moneda i els camps de data i d'hora es poden introduir com a botons de selecció de valors al formulari.

Botó per defecte

The "Default button" property specifies that the corresponding button will be operated when you press the Return key. If you open the dialog or form and do not carry out any further action, the button with this property is the default button.

Icona de nota

Esta propietat només s'ha d'assignar a un botó individual del document.


When using Web page forms, you might come across this property in search masks. These are edit masks that contain a text field and a Submit type button. The search term is entered in the text field and the search is started by activating the button. If the button is defined as the default button, however, simply hit Enter after entering the search term in order to start the search.

Camp d'etiqueta

Indica la font per a l'etiqueta del control. El text del camp etiquetat s'utilitzarà en comptes del nom del camp de la base de dades. Per exemple, al Navegador de filtres, al diàleg Busca, i com a nom de columna a la visualització de la taula.

To define one character of the label as a mnemonic, so that the user can access this control by pressing the character on the keyboard, insert a tilde (~) character in front of the character in the label.

Quan s'utilitzen botons d'opció, només es pot utilitzar el text d'un marc de grup com a camp d'etiqueta. Este text s'aplica a tots els botons d'opció del mateix grup.

Si feu clic al botó ... que apareix al costat del camp de text, veureu el diàleg Selecció del camp d'etiqueta. Seleccioneu una etiqueta de la llista.

Check the No assignment box to remove the link between a control and the assigned label field.

Canvi gran

Indiqueu el valor que voleu afegir o restar quan l'usuari faça clic al botó lliscant de la barra de desplaçament.

Canvi petit

Specify the value to add or subtract when the user clicks the Arrow icon on the scrollbar.

Caràcters de la contrasenya

If the user enters a password, you can determine the characters that will be displayed instead of the characters typed by the user. Under Password character, enter the ASCII code of the desired character. You can use the values from 0 to 255.

Icona de consell

The characters and their ASCII codes can be seen in the Special Characters dialog (Insert - Special Character).


Color de fons

Hi ha disponible un color de fons per a la majoria de camps de control. Si feu clic a Color de fons, s'obrirà una llista que vos permetrà seleccionar diferents colors. L'opció "Estàndard" adopta la configuració del sistema. Si el color que voleu no apareix, feu clic al botó ... per definir un color al diàleg Color.

Color de la vora

Specifies the border color for controls that have the "Border" property set to "flat".

Color del símbol

Indica el color per als símbols dels controls, per exemple les fletxes d'una barra de desplaçament.

Commuta

Specifies if a Push button behaves as a Toggle Button. If you set Toggle to "Yes", you can switch between the "selected" and "not selected" control states when you click the button or press the Spacebar while the control has the focus. A button in the "selected" state appears "pressed in".

Data màx.

Determina una data que no es pot superar amb un altre valor introduït per l'usuari.

Data mín.

Determina la data més propera que pot definir un usuari.

Data per defecte

Defineix la data per defecte.

Desplaçament amb la roda del ratolí

Sets whether the value changes when the user scrolls a mouse wheel. Never: No change of the value. When focused: (default) The value changes when the control has the focus and the wheel is pointing at the control and gets scrolled. Always: The value changes when the wheel is pointing at the control and gets scrolled, no matter which control has the focus.

Desplegable

A control field with the dropdown property has an additional arrow button which opens the list of the existing form entries per mouse click. Under Line count, you can specify how many lines (or rows) should be displayed in the dropdown state. Combination fields can have the dropdown property.

Els quadres combinats que s'han inserit com a columnes a un control de la taula sempre són llistes desplegables per defecte.

Divisió de paraula

Displays text on more than one line. Allows you to use line breaks in a text box, so that you can enter more than one line of text. To manually enter a line break, press Enter.

Edita la màscara

Si indiqueu el codi de caràcter en camps de patró, podeu determinar què pot introduir l'usuari al camp de patró.

La longitud de la màscara d'edició determina el nombre de les posicions possibles d'entrada. Si l'usuari introdueix caràcters que no es corresponen amb la màscara d'edició, es rebutja l'entrada quan l'usuari ix del camp. Podeu introduir els caràcters següents per definir la màscara d'edició:

Caràcter

Significat

L

A text constant. This position cannot be edited. The character is displayed at the corresponding position of the Literal Mask.

a

The characters a-z and A-Z can be entered. Capital characters are not converted to lowercase characters.

A

The characters A-Z can be entered. If a lowercase letter is entered, it is automatically converted to a capital letter.

c

The characters a-z, A-Z, and 0-9 can be entered. Capital characters are not converted to lowercase characters.

C

The characters A-Z and 0-9 can be entered. If a lowercase letter is entered, it is automatically converted to a capital letter.

N

Only the characters 0-9 can be entered.

x

Es poden introduir tots els caràcters imprimibles.

X

All printable characters can be entered. If a lowercase letter is entered, it is automatically converted to a capital letter.


Per a la màscara literal "__.__.2000", per exemple, definiu la màscara d'edició "NNLNNLLLLL" de manera que l'usuari només puga introduir quatre dígits quan introduïsca una data.

Emplenament automàtic

The AutoFill function displays a list of previous entries after you start to type an entry.

Escala

Redimensiona la imatge perquè s'ajuste a la mida del control.

Estat per defecte

Indica si una opció d'una casella de selecció està seleccionada per defecte.

Per a un botó de tipus Reinicialitza, podeu definir l'estat del control si l'usuari activa el botó de reinicialització.

For grouped option fields, the status of the group corresponding to the default setting is defined by the "Default Status" property.

Estat triple

Specifies whether a check box can also represent ZERO values of a linked database apart from the TRUE and FALSE values. This function is only available if the database accepts three states: TRUE, FALSE and ZERO.

Icona de nota

The "Tristate" property is only defined for database forms, not for HTML forms.


Estil

Specifies whether Check boxes and Option buttons are displayed in a 3D look (default) or a flat look.

Etiqueta

The "Label" property sets the label of the control field that is displayed in the form. This property determines the visible label or the column header of the data field in table control forms.

When you create a new control, the description predefined in the "Name" property is used as the default for labeling the control. The label consists of the control field name and an integer numbering the control (for example, CommandButton1). With the "Title" property, you can assign another description to the control so that the label reflects the function of the control. Change this entry in order to assign an expressive label to the control that is visible to the user.

To create a multi-line title, open the combo box using the Arrow button. You can enter a line break by pressing Shift++Enter.

Icona de nota

The "Title" property is only used for labeling a form element in the interface visible to the user. If you work with macros, note that at runtime, a control is always addressed through the "Name" property.


Filtering/Sorting

Specifies to show or hide the filtering and sorting items in a selected Navigation bar control. Filtering and sorting items are the following: Sort ascending, Sort descending, Sort, Automatic filter, Default filter, Apply filter, Reset filter/sort.

Format d'hora

Podeu definir el format que vulgueu per a la visualització de l'hora.

Format de data

With date fields you can determine the format for the date readout.

Icona de nota

Tots els camps de format (data, hora, moneda, numèric) es formaten automàticament amb el format seleccionat tan prompte com eixiu, independentment de com hàgeu introduït la informació.


Format estricte

You can have a format check with control fields that accept formatted contents (date, time, and so on). If the strict format function is activated (Yes), only the allowed characters are accepted. For example, in a date field, only numbers or date delimiters are accepted; all alphabet entries typed with your keyboard are ignored.

Formatació

Indica el codi de format del control. Feu clic al botó ... per seleccionar el codi de format.

Gràfics

An image button has a "Graphics" property. The "Graphics" property specifies the graphic's path and file name that you want to have displayed on the button. If you select the graphic file with the ... button, the path and file name will be automatically included in the text box.

Habilitat

If a control field has the property "Enabled" (Yes), the form user will be able to use the control field. If the property is disabled, it will not be enabled (No) and will be displayed in a gray color.

Hora màx.

Determina una hora que no es pot superar amb un altre valor introduït per l'usuari.

Hora mín.

Determina l'hora mínima que pot definir un usuari.

Hora per defecte

Defineix l'hora per defecte.

Imprimible

Indica si voleu que el camp de control aparega a la impressió d'un document.

Les línies del text acaben amb

Per als camps de text, seleccioneu el codi de final de línia que s'ha d'utilitzar quan s'escriu text a una columna d'una base de dades.

Llista les entrades

Please note the tips referring to the keyboard controls.

L'entrada de llista predefinida per defecte s'introdueix al quadre Quadre combinat de selecció per defecte.

Icona de nota

Tingueu en compte que les entrades de llista que s'introdueixen ací només s'incorporen al formulari si a la pestanya Dades, a Tipus de contingut de la llista, l'opció"Llista de valors" està seleccionada.


Si no voleu que les entrades de llista s'escriguen en una base de dades o es transmetin al destinatari del formulari web, sinó que voleu valors assignats que no es mostren al formulari, podeu assignar les entrades de llista a altres valors en una llista de valors. La llista de valors es determina a la pestanya Dades. A Tipus de contingut de la llista, seleccioneu l'opció "Llista de valors". Tot seguit introduïu els valors a Contingut de la llista que s'han d'assignar a les entrades de llista visibles al formulari. Perquè l'assignació siga correcta, és rellevant l'orde a la llista de valors.

Icona de nota

Per als documents HTML, una entrada de llista introduïda a la pestanya General es correspon amb l'etiqueta HTML <OPTION>; una entrada de la llista de valors introduïda a la pestanya Dades, a Contingut de la llista es correspon amb l'etiqueta <OPTION VALUE=...>.


Longitud màxima del text

Per al text i els quadres combinats, podeu definir un nombre màxim de caràcters que pot introduir l'usuari. Si esta propietat del camp de control no està definida, el paràmetre per defecte serà zero.

If the control is linked to a database and the text length is to be accepted from the field definition of the database, you must not enter the text length here. The settings are only accepted from the database if the control property was not defined ("Not Defined" state).

Marc

You can also specify the target frame to display a URL that you open when you click a button that has been assigned to the "Open document or web page" action.

Si feu clic al camp, podeu seleccionar una opció de la llista que indiqui a quin marc s'ha de carregar el següent document. Existeixen les possibilitats següents:

Entrada

Significat

_blank

El document següent es crea en un marc buit nou.

_parent

El document següent es crea en un marc pare. Si no existeix cap marc pare, el document es crea al mateix marc.

_self

El document següent es crea al mateix marc.

_top

El següent document es crea una finestra de nivell superior, és a dir, al marc més alt de la jerarquia; si el marc actual ja té una finestra superior, el document es crea al marc actual.


Icona de nota

The "Frame" property is relevant for HTML forms, but not for database forms.


Marcador de registre

Indica si la primera columna es mostra amb etiquetes de fila en les quals el registre actual es marca amb una fletxa.

Mida de la icona

Specifies whether the icons in a selected Navigation bar should be small or large.

Mida visible

Specifies the size of scrollbar thumb in "value units". A value of ("Scroll value max." minus "Scroll value min." ) / 2 would result in a thumb which occupies half of the background area.

If set to 0, then the thumb's width will equal its height.

Màscara literal

With masked fields you can specify a literal mask. A literal mask contains the initial values of a form, and is always visible after downloading a form. Using a character code for the Edit mask, you can determine the entries that the user can type into the masked field.

Icona de nota

La llargada de la màscara literal sempre s'ha de correspondre amb la llargada de la màscara d'edició. Si este no és el cas, la màscara d'edició es talla o s'ompli amb espais buits fins a la llargada de la màscara d'edició.


Navegació

Specifies to show or hide the navigation items in a selected Navigation bar control. Navigation items are the following: First record, Previous record, Next record, Last record.

Nom

Each control field and each form has a "Name" property through which it can be identified. The name will appear in the Form Navigator and, using the name, the control field can be referred to from a macro. The default settings already specify a name which is constructed from using the field's label and number.

Icona de nota

Si treballeu amb macros, assegureu-vos que els noms dels controls són únics.


The name is also used to group different controls that belong together functionally, such as radio buttons. To do so, give the same name to all members of the group: controls with identical names form a group. Grouped controls can be represented visually by using a Group Box.

Nombre de decimals

Amb els camps numèrics i els camps de moneda podeu determinar el nombre de dígits que es mostren a la dreta del punt decimal.

Només de lectura

The "Read-only" property can be assigned to all controls in which the user can enter text. If you assign the read-only property to an image field which uses graphics from a database, the user will not be able to insert new graphics into the database.

Orde de les tabulacions

The "Tab order" property determines the order in which the controls are focused in the form when you press the Tab key. In a form that contains more than one control, the focus moves to the next control when you press the Tab key. You can specify the order in which the focus changes with an index under "Tab order".

Icona de nota

The "Tab order" property is not available to Hidden Controls. If you want, you can also set this property for image buttons and image controls, so that you can select these controls with the Tab key.


When creating a form, an index is automatically assigned to the control fields that are added to this form; every control field added is assigned an index increased by 1. If you change the index of a control, the indices of the other controls are updated automatically. Elements that cannot be focused ("Tabstop = No") are also assigned a value. However, these controls are skipped when using the Tab key.

També podeu definir fàcilment els índexs dels diferents controls al diàleg Orde de les tabulacions.

Orientació

Indica l'orientació horitzontal o vertical d'una barra de desplaçament o d'un botó de selecció de valors.

Pas de valor

Podeu predefinir els intervals de valors per als botons de selecció de valors numèrics i de moneda. Utilitzeu les fletxes amunt i avall del botó de selecció de valors per augmentar o disminuir el valor.

Posició

Specifies to show or hide the positioning items in a selected Navigation bar control. Positioning items are the following: Record label, Record position, Record count label, Record count.

PosicióX

Defineix la posició X del control, relativa a l'àncora.

PosicióY

Defineix la posició Y del control, relativa a l'àncora.

Recompte de línies

For combo boxes with the "Dropdown" property, you can specify how many lines should be displayed in the dropdown list. With control fields which do not have the Dropdown option, the line's display will be specified by the size of the control field and the font size.

Repeteix

Indica si l'acció d'un control, com ara un botó de selecció de valors, s'ha de repetir quan feu clic al control i manteniu premut el botó del ratolí.

Retard

Specifies the delay in milliseconds between repeating events. A repeating event occurs when you click an arrow button or the background of a scrollbar, or one of the record navigation buttons of a Navigation bar, and you keep the mouse button pressed for some time. You can enter a value followed by a valid time unit, for example, 2 s or 500 ms.

Selecció múltiple

Permet seleccionar més d'un element en un quadre de llista.

Selecció per defecte

Indica l'entrada del quadre de llista que s'ha de marcar com a entrada per defecte.

For a Reset type button, the Default selection entry defines the status of the list box if the reset button is activated by the user.

For a List box that contains a value list, you can click the ... button to open the Default selection dialog.

Al diàleg Selecció per defecte, seleccioneu les entrades que voleu marcar com a seleccionades quan obriu el formulari que conté el quadre de llista.

Separador de milers

Amb els camps numèrics i de moneda podeu determinar si s'utilitzen els separadors de milers.

Símbol de moneda

In a currency field, you can predefine the currency symbol by entering the character or string in the "Currency symbol" property.

Símbol de prefix

Determina si es mostra el símbol de moneda abans o després del nombre quan s'utilitzen camps de moneda. El paràmetre per defecte és que els símbols de moneda no van prefixats.

Text d'ajuda

Ofereix l'opció d'introduir un text d'ajuda que es mostrarà com a consell en el control. El consell mostra el text en mode d'usuari quan el ratolí es mou per sobre el control.

For URL type buttons, the help text appears as the extended tip instead of the URL address entered under URL.

Text d'ajuda

A cada camp de control podeu indicar informació addicional o un text descriptiu per al camp de control. Esta propietat ajuda el programador a guardar informació addicional que es pot utilitzar al codi del programa. Este camp es pot utilitzar, per exemple, per a variables o altres paràmetres d'avaluació.

Text per defecte

Defineix el text per defecte per a un quadre de text o un quadre combinat.

Tipus de lletra

Per als camps de control que tenen text visible o títols, seleccioneu el tipus de lletra de visualització que voleu utilitzar. Per obrir el diàleg Tipus de lletra, feu clic al botó .... El tipus de lletra seleccionat s'utilitza en els noms dels camps de control i per veure dades als camps de control de taula.

Tipus de text

Allows you to use line breaks and formatting in a control field, such as a text box or label. To manually enter a line break, press the Enter key. Select "Multi-line with formatting" to enter formatted text.

Icona d'avís

Si seleccioneu el tipus de text "Línies múltiples amb formatació", no podeu vincular este control a un camp d'una base de dades.


Icona de nota

Este control s'anomena "Entrada de línies múltiples" per a una columna de text dins d'un control de taula.


URL

Enter the URL address for a Open document or web page button type in the URL box. The address opens when you click the button.

Si moveu el ratolí per sobre el botó en mode d'usuari, apareix l'URL com a consell ampliat, sempre que no s'haja introduït cap altre text d'ajuda.

URL d'ajuda

Specifies a batch label in URL spelling which refers to a help document and which can be called with the help of the control field. The help for the control field help can be opened if the focus is positioned on the control field and the user presses F1.

Valor

En un control amagat, a Valor, podeu introduir les dades que provenen del control amagat. Estes dades es transferiran quan s'envie el formulari.

Valor d'increment/decrement

Determina intervals per afegir o eliminar amb cada activació del control del botó de selecció de valors.

Valor de desplaçament per defecte

Defineix el valor per defecte per a la barra de desplaçament.

Valor màx.

Per als camps numèrics i de moneda, podeu determinar el valor màxim que l'usuari pot introduir.

Valor màxim de desplaçament

Indica el valor màxim d'un control de la barra de desplaçament.

Valor mín.

Per als camps numèrics i de moneda podeu determinar un valor mínim per evitar que l'usuari introduïsca un valor més petit.

Valor mínim de desplaçament

Indica el valor mínim d'un control de la barra de desplaçament.

Valor per defecte

Defineix el valor per defecte del camp de control. Per exemple, s'introduirà el valor per defecte quan s'òbriga un formulari.

For a Reset type button, the Default value entry defines the status of the control if the reset button is activated by the user.

Visible

Defineix si el control serà visible en el mode viu. En el mode de disseny el control sempre és visible.

Tingueu en compte que si esta propietat està definida com a «Sí» (per defecte), això no significa necessàriament que el control apareixerà a la pantalla. S'apliquen restriccions addicionals en calcular la visibilitat efectiva del control. Per exemple, un control emplaçat a una secció no visible al Writer mai es visualitzarà fins que la darrera secció siga visible.

Si la propietat està definida com a «No», aleshores el control sempre estarà amagat en el mode viu.

Versions de l'OpenOffice.org fins a la 3.1 ignoraran esta propietat en llegir documents que facen ús de la mateixa.

Vora

With control fields that have a frame, you can determine the border display on the form using the "Border" property. You can select among the "Without frame", "3-D look" or "Flat" options.