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.

Para acceder a esta orden…

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.


Icono 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).


Acciones sobre un registro

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.

Acción

Mediante las acciones de navegación puede diseñar botones personalizados de navegación de bases de datos.

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

Acción

Descripción

Ninguno

No hay acción.

Enviar formulario

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.

Al exportar a un archivo PDF, indique el URL en el cuadro de texto correspondiente de las propiedades de datos del formulario.

Restablecer formulario

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

Abrir documento / página web

Abre la URL establecida en URL. Puede usar Marco para especificar el marco de destino.

Primer registro

Desplaza el formulario actual al primer registro.

Registro anterior

Mueve el formulario actual al registro anterior.

Registro siguiente

Desplaza el formulario actual al registro siguiente.

Último registro

Desplaza el formulario actual al último registro.

Guardar registro

Guarda el registro actual, si es necesario.

Cancelar datos insertados

Invierte los cambios del registro actual.

Nuevo registro

Desplaza el formulario actual a la fila de inserción.

Eliminar registro

Borra el registro actual.

Actualizar formulario

Recarga la versión del formulario actual que se ha guardado más recientemente.


Activado

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.

Activar al hacer clic

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

Alineación / Alineación de gráficos

Las opciones de alineación son a la izquierda, a la derecha y centrado. Estas opciones están disponibles para los elementos siguientes:

  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.

    Icono de nota

    La opción Alineación para los botones se denomina Alineación de gráficos.


Alternar

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".

Altura

Define la altura del control.

Anchura

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

Anchura

Define la anchura del control.

Anclaje

Define dónde se anclará el control.

Anteponer símbolo

Con los campos de moneda, define si el símbolo de moneda se debe mostrar delante o detrás del número. La configuración predeterminada es que los símbolos de moneda no vayan delante.

Autorrellenar

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

Barra de desplazamiento

Agrega a un cuadro de texto el tipo de barra de desplazamiento que se indique.

Barra de navegación

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

Botón predeterminado

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.

Icono de nota

Esta propiedad únicamente se debe asignar a un solo botón en el documento.


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.

Cambio grande

Especifique el valor que se agregará o quitará cuando el usuario haga clic en el icono de flecha de la barra de desplazamiento.

Cambio pequeño

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

Campo de etiqueta

Especifica el origen de la etiqueta del control. El texto del campo de etiqueta se utilizará en lugar del nombre de un campo de base de datos. Por ejemplo, en el Navegador de filtros, en el cuadro de diálogo Buscar y como nombre de columna en la vista de tabla.

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.

En los campos de opción (botones de opción) sólo se admite como campo de título el texto del marco del grupo que haya creado. Este texto rige para todos los campos de opción del mismo grupo.

Si pulsa en el botón situado junto al campo de texto, se muestra el cuadro de diálogo Selección de campo de etiqueta. Seleccione una etiqueta de la lista.

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

Campo giratorio

Los campos numéricos, de moneda y de fecha y hora se pueden insertar como botones de selección de valores en el formulario.

Caracteres para contraseñas

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.

Icono de consejo

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


Color de fondo

Casi todos los controles disponen de un color de fondo. Si pulsa en Color de fondo, se muestra una lista en la que se puede elegir un color. La opción «Estándar» adopta la configuración del sistema. Si el color que busca no figura en la lista, pulse en el botón para definir un color en el cuadro de diálogo Color.

Color de símbolo

Especifica el color de los símbolos en los controles, por ejemplo, las flechas de una barra de desplazamiento.

Color del borde

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

Decimales

Con los campos numérico y de moneda se determina la cantidad de dígitos que se muestran a la derecha del punto decimal.

Desplazamiento de rueda del ratón

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.

Los campos combinados insertados como columnas en un control de tabla siempre son desplegables de forma predeterminada.

División de palabras

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.

Entradas de lista

Please note the tips referring to the keyboard controls.

La entrada de lista predeterminada predefinida se escribe en el cuadro combinado Selección predeterminada.

Icono de nota

Tenga en cuenta que las entradas de la lista escritas aquí sólo se incorporan al formulario si, en la pestaña Datos, se selecciona la opción "Lista de valores" como Tipo del contenido de lista.


Si no quiere que las entradas de lista se han escritas en la base de datos o transmitidas al recipiente del formulario Web, sino más bien de que los valores asignados no sean visibles en el formulario, puede asignar las entradas de lista a otros valores en una lista de valores. La lista de valor se determina en la pestaña Dato. Bajo Tipo de contenidos de lista, seleccione el botón "Lista de valor". A continuación, introduzca los valores bajo Contenidos de lista que se han asignado a la correspondiente lista de entradas visibles del formato. Para la asignación correcta, el orden en la lista de valor es relevante.

Icono de nota

En los documentos HTML, una entrada de la lista ingresada en la pestaña General corresponde a la etiqueta HTML <OPTION>; una entrada de la lista de valores ingresada en la pestaña Datos dentro de Contenido de la lista corresponde a la etiqueta <OPTION VALUE=...>.


Escala

Cambia el tamaño de la imagen para que se adapte al tamaño del control.

Espacio entre renglones

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.

Estado predeterminado

Especifica si una opción o una casilla de verificación se seleccionan de forma predeterminada.

Para un botón de tipo reestablecer, puede definir el estado del control si el botón de reestablecer es activado por el usuario.

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

Estado triple

Especifica si una casilla de verificación puede representar también valores ZERO de una base de datos enlazada, aparte de los valores TRUE y FALSE. Esta función está disponible solo si la base de datos acepta tres estados: TRUE, FALSE y ZERO.

Icono de nota

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


Estilo

Especifica si las casillas de verificación y los botones de opción se muestran en 3D (configuración predeterminada) o planos.

Fecha máx.

Determina una fecha que no se puede superar por otro valor introducido por el usuario.

Fecha mín.

Determina la fecha más temprana que un usuario puede introducir.

Fecha predeterminada

Establece la fecha predeterminada.

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.

Formato

Especifica el código de formato del campo de control. Haga clic en el botón ... para seleccionar el código de formato.

Formato de fecha

Con los campos de fecha usted puede determinar el formato de la interpretación de las fechas.

Icono de nota

De forma automática se da formato a todos los campos de formato (fecha, hora, moneda, numérico) en el formato que se haya seleccionado justo luego de dejar la celda, sin importar de qué modo se escriba la entrada.


Formato de hora

Se define el formato deseado para la visualización de la hora.

Hora máx.

Determina un tiempo que ningún otro valor introducido por el usuario puede superar.

Hora mín.

Determina el tiempo mínimo que un usuario puede especificar.

Hora predeterminada

Establece la hora predeterminada.

Imagen

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.

Imprimible

Especifica si desea que el control aparezca en la versión impresa del documento.

Intervalo

Establece el intervalo para aumentar o disminuir con cada activación del control del botón de selección.

Las líneas de texto acaban con

Para los campos de texto, seleccione el código de fin de línea que se utilizará cuando escriba texto en una columna de base de datos.

Longitud máx. del texto

Para los campos de texto y los combinados, se define el número máximo de caracteres que el usuario puede introducir. Si esta propiedad del control no está definida, la configuración predeterminada será cero.

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).

Marcador de registro

Especifica si la primera columna aparece o no con etiquetas de fila en las que el registro actual se muestre mediante una flecha pequeña.

Marco

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.

Al pulsar en el campo podrá seleccionar una opción de la lista que especifique en qué marco se debe cargar el documento siguiente. Las posibilidades son:

Entrada

Significado

_blank

El elemento siguiente se inserta en un frame nuevo y vacío.

_parent

El documento siguiente se inserta en un frame de un nivel superior. Si este nivel superior no existe, el documento se inserta en el mismo frame.

_self

El documento siguiente se inserta en el mismo frame.

_top

El documento siguiente se inserta en una Top-Window (ventana superior), eso es, en el frame situado en la parte más alta de la jerarquía. Si el frame de partida es ya una ventana superior, el documento se inserta en el mismo frame.


Icono de nota

La propiedad «Marco» es relevante para los formularios HTML, pero no para los formularios de base de datos.


Marco

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.

Máscara de caracteres

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.

Icono de nota

La longitud de la máscara de caracteres debe corresponderse siempre con la longitud de la máscara de entrada. De no ser así, la máscara de caracteres se corta o se rellena con espacios en blanco hasta alcanzar la longitud de la máscara de entrada.


Máscara de entrada

Al especificar un código de carácter en los campos enmascarados se pueden determinar los caracteres que el usuario puede escribir en dichos campos.

La longitud de la máscara de edición determina el número de posiciones de entrada posibles. Si el usuario escribe caracteres que no se correspondan con la máscara de edición, la entrada se rechazará cuando el usuario salga del campo. Puede utilizar los siguientes caracteres para definir la máscara de edición:

Carácter

Significado

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

Se pueden introducir todos los caracteres imprimibles.

X

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


Defina, por ejemplo, para la máscara de caracteres «__.__.2000», la máscara de entrada «NNLNNLLLLL» que el usuario pueda introducir 4 cifras en la indicación de la fecha.

Navegación

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.

Nombre

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.

Icono de nota

Si trabaja con macros, asegúrese de que los nombres de los controles sean unívocos.


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.

Número de líneas

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.

Ocultar selección

Especifica si una selección de texto en un control permanece seleccionada cuando el control deja de estar activo. Si configura Ocultar selección como «No», el texto seleccionado permanece seleccionado cuando el control que contiene el texto deja de estar activo.

Orden de tabulación

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".

Icono 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.

También puede definir los índices de diferentes controles en el cuadro de diálogo Orden de tabulación.

Orientación

Establece la orientación horizontal o vertical de la barra de desplazamiento o el botón de selección.

Posición

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ónX

Define la posición X del control, relativa al ancla.

PosiciónY

Define la posición Y del control, relativa al ancla.

Repetir

Especifica si la acción de un control como un botón de selección se repite al hacer clic en el control y mantener pulsado el botón del ratón.

Retraso

Especifica el retraso en milisegundos entre los sucesos que se repiten. Los sucesos se repiten al pulsar en un botón de flecha, en el fondo de una barra de desplazamiento, o en uno de los botones de navegación de registros de una barra de navegación, y se mantiene oprimido durante un rato el botón del ratón. Puede especificar un valor seguido de una unidad de tiempo válida, por ejemplo, 2 s o 500 ms.

Revisión de formato

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.

Selección múltiple

Permite seleccionar más de un elemento en un cuadro de lista.

Selección predeterminada

Especifica la entrada del cuadro de lista que se debe marcar como predeterminada.

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.

En el diálogo Selección predeterminada, elija las entradas que desee marcar como seleccionadas al abrir el formulario que contenga el cuadro de lista.

Separador de mil

En los campos numéricos y de moneda se define el empleo o no de los separadores de miles.

Solo 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.

Símbolo de moneda

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

Tabulación

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.


Tamaño del icono

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

Tamaño 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.

Texto de ayuda

Proporciona la opción de entrar un texto de ayuda que se mostrará a modo de sugerencia en el control. La ayuda emergente muestra el texto en modo de usuario cuando el ratón pasa por encima del control.

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

Texto de ayuda

En cada control se puede especificar información adicional o un texto descriptivo. Esta propiedad ayuda al programador a guardar información adicional que se puede usar en el código del programa. Este campo se puede usar, por ejemplo, para variables u otros parámetros de evaluación.

Texto predeterminado

Establece el texto predeterminado para un cuadro de texto o un cuadro combinado.

Tipo de letra

En controles que tienen texto visible o títulos, seleccione el tipo de letra que quiere usar. Para abrir el cuadro de diálogo Tipo de letra pulse en el botón . El tipo de letra elegido se usa en el nombre del control y para mostrar los datos en el control de tipo tabla.

Tipo de texto

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.

Icono de advertencia

Si selecciona el tipo de texto "Múltiples líneas con formato", este control no se puede vincular con un campo de base de datos.


Icono de nota

Este control se denomina "Entrada de múltiples líneas" para las columnas de texto que estén dentro de un control de la tabla.


Título

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.

Icono 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.


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 mueve el ratón sobre el botón en modo Usuario, la dirección URL se mostrará como una sugerencia emergente, en caso de que no se haya ingresado ningún texto de ayuda.

URL de la ayuda

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 la propiedad Valor de un campo de control oculto se pueden especificar los datos heredados por dicho campo de control. Estos datos se transferirán cuando se envíe el formulario.

Valor de desplazamiento mín.

Especifique el valor mínimo de un control de la barra de desplazamiento.

Valor diferencial

Puede preestablecer los intervalos de valores de botones de selección numéricos y de monedas. Use las flechas de arriba y abajo del botón de selección para incrementar y decrecer el valor.

Valor máx.

En el caso de los campos numéricos o de moneda, puede determinar el valor máximo que el usuario puede escribir.

Valor máximo

Especifique el valor máximo de un control de la barra de desplazamiento.

Valor mín.

En campos numéricos y de moneda puede definir el valor mínimo para prevenir que el usuario ingrese un valor inferior.

Valor predeterminado

Define el valor predeterminado para el campo de control. Por ejemplo, el valor predeterminado se indicará cuando se abra un formulario.

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

Valor predeterminado de desplazamiento

Define el valor predeterminado de la barra de desplazamiento.

Visible

Define si el control seguirá siendo visible en modo en vivo. En modo de diseño, el control siempre es visible.

Recuerde que si esta propiedad se define en «Sí» (valor predeterminado), eso no significa necesariamente que el control aparecerá en la pantalla. Se aplican restricciones adicionales al calcular la visibilidad efectiva del control. Por ejemplo, un control colocado en una sección no visible en Writer jamás aparecerá a menos que la sección misma se vuelva visible.

Si la propiedad se define en «No», el control se ocultará todo el tiempo en el modo en vivo.

Las versiones más antiguas de OpenOffice.org hasta 3.1 ignorarán esta propiedad sin generar advertencias al leer documentos que hagan uso de la misma.