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 Properties - General tab.

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


note

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

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ó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 el URL que se especificó 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 can use the control field. Otherwise (No), it is disabled and greyed out.

Activar al hacer clic

Si define esta opción como «Sí», el botón recibirá el foco cuando pulse encima.

Alineación / Alineación de gráficos

The alignment options are left-aligned, right-aligned, and centered. These options are available for the following elements:

  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.

    note

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


Alternar

Define si un botón pulsable tiene comportamiento de alternancia. Si establece Alternar a «Sí», podrá cambiar entre los estados «seleccionado» y «no seleccionado» cuando se pulse en el botón o se presione la barra espaciadora cuando el control tenga el foco. Los botones en estado seleccionado tienen una apariencia hundida.

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

Determines if the currency symbol is displayed before or after the number when using currency fields. The default setting is currency symbols are not prefixed.

Autorrellenar

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

Barra de desplazamiento

Adds the scrollbar type that you specify to a text box.

Barra de navegación

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

Borde

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.

Botón predeterminado

La propiedad «Botón predeterminado» determina que el botón correspondiente se accionará cuando usted presione la tecla Intro. Si abre el cuadro de diálogo o el formulario y no lleva a cabo ninguna otra acción, el botón que tenga esta propiedad será el predeterminado.

note

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 pulse 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

Specifies the source for the label of the control. The text of the label field will be used instead of the name of a database field. For example, in the Filter Navigator, Search dialog, and as a column name in the table view.

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, aparecerá el 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.

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.

tip

Los caracteres y sus códigos ASCII pueden verse en el cuadro de diálogo Caracteres especiales (menú Insertar ▸ Carácter especial).


Color de fondo

A background color is available for most control fields. If you click on Background color, a list will open which enables you to select among various colors. The "Standard" option adopts the system setting. If the desired color is not listed, click the ... button to define a color in the Color dialog.

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

Control de número

Numerical fields, currency fields, date and time fields can be introduced as spin buttons in the form.

Decimales

With numerical and currency fields you can determine the number of digits displayed to the right of the decimal point.

Demora

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.

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.

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.

note

Tenga en cuenta que las entradas de la lista escritas aquí solamente se incorporan al formulario si, en la pestaña Datos, se selecciona la opción «Lista de valores» como Tipo de 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.

note

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

Resizes the image to fit the size of the 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

Specifies whether an option or a check box is selected by default.

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

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.

note

La propiedad «Estado triple» se define únicamente para los formularios de base de datos, no para los HTML.


Estilo

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

Etiqueta

La propiedad «Etiqueta» define la etiqueta del control que se muestra en el formulario. Esta propiedad determina la etiqueta visible o la cabecera de columna del campo de datos en los formularios de controles de tabla.

Cuando crea un control nuevo, la descripción que se predefine en la propiedad «Nombre» se utiliza como etiqueta predeterminada del control. La etiqueta se compone del nombre del control y un número entero (por ejemplo, Botón1). Con la propiedad «Título», puede asignar otra descripción al control, de tal modo que la etiqueta refleje la función del control. Cambie esta entrada para asignar una etiqueta significativa al control, la cual se mostrará a los usuarios.

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

note

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.


Fecha máx.

Determines a date which can not be exceeded by another value introduced by the user.

Fecha mín.

Determines the earliest date that a user can enter.

Fecha predeterminada

Establece la fecha predeterminada.

Filtrar y ordenar

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

Specifies the format code for the control. Click the ... button to select the format code.

Formato de fecha

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

note

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

Puede definir el formato deseado para la visualización de la hora.

Formato estricto

La función de formato estricto está disponible para los campos de control que aceptan contenido con formato (fecha, hora, etc.). Si se activa esta función (), solo se aceptan los caracteres permitidos. Por ejemplo, en un campo de fecha, solo se aceptarán números y delimitadores de fecha; se ignorarán las letras introducidas mediante el teclado.

Hora máx.

Determines a time which can not be exceeded by another value introduced by the user.

Hora mín.

Determines the minimum time that a user can enter.

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

Specifies whether you want the control field to appear in a document's printout.

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

For text and combo boxes, you can define the maximum number of characters that the user can enter. If this control field property is uncertain, the default setting will be 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).

Marcador de registro

Specifies whether the first column is displayed with row labels, in which the current record is marked by an arrow.

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

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


note

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


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.

note

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

By specifying the character code in pattern fields, you can determine what the user can enter in the pattern field.

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

Se pueden introducir caracteres entre a-z y A-Z. Las mayúsculas no se convierten en minúsculas.

A

Se pueden introducir caracteres entre A-Z. Si se escribe una letra minúscula, se convierte automáticamente en mayúscula.

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

Solamente se pueden introducir los caracteres entre 0-9.

x

Se pueden introducir todos los caracteres imprimibles.

X

Se pueden introducir todos los caracteres imprimibles. Si se introduce una letra minúscula, esta se convierte en mayúscula automáticamente.


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.

note

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

Specifies whether a text selection on a control remains selected when 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.

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

note

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

Specifies if the action of a control such as a spin button repeats when you click the control and hold the mouse button down.

Salto de palabra

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.

Selección múltiple

Allows you to select more than one item in a list box.

Selección predeterminada

Specifies the list box entry to mark as the default entry.

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 millares

Los campos numéricos y monetarios permiten determinar si se utilizan separadores de millares.

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 monetario

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

Cuando utilice la tecla Tab para cambiar el foco, el control se pasará por alto.

Se puede seleccionar el control con la tecla Tab.


Tamaño de iconos

Especifica si los iconos de la barra de navegación seleccionada deben ser grandes o pequeños.

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.

Si se define en 0, la altura del control será igual que su altura.

Texto de ayuda

Provides the option of entering a help text that will be displayed as a tip on the control. The tip shows the text in user mode when the mouse is moved over the control.

En el caso de los botones de tipo URL, el texto de ayuda aparece como la descripción emergente ampliada, en lugar de la dirección URL introducida en URL.

Texto de ayuda

In each control field you can specify additional information or a descriptive text for the control field. This property helps the programmer to save additional information that can be used in the program code. This field can be used, for example, for variables or other evaluation parameters.

Texto predeterminado

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

Tipo de letra

For control fields which have visible text or titles, select the display font that you want to use. To open the Font dialog, click the ... button. The selected font is used in control fields names and to display data in table control fields.

Tipo de texto

Le permite utilizar saltos de renglón y formato en un campo de control, incluidos los cuadros de texto o las etiquetas. Para introducir un salto de renglón manualmente, presione la tecla Intro. Seleccione «Multirrenglón con formato» para introducir texto formateado.

warning

Si selecciona el tipo de texto «Multirrenglón con formato», este control no se puede vincular con un campo de base de datos.


note

Este control se denomina «Entrada multirrenglón» para las columnas de texto que estén dentro de un control de la tabla.


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, el URL se mostrará como descripción emergente ampliada, en caso de que no se haya proporcionado 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

In a hidden control, under Value, you can enter the data which is inherited by the hidden control. This data will be transferred when sending the form.

Valor diferencial

Puede preestablecer los intervalos de valores para los controles de selección numérica y monetaria. Utilice las flechas de aumento y disminución del control de número para incrementar o reducir el valor.

Valor máx.

For numerical and currency fields, you can determine the maximum value that the user can enter.

Valor máximo de desplazamiento

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

Valor mín.

For numerical and currency fields you can determine a minimum value to prevent the user from entering a smaller value.

Valor mínimo de desplazamiento

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

Valor predeterminado

Sets the default value for the control field. For example, the default value will be entered when a form is opened.

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 anteriores a OpenOffice.org 3.1 ignorarán silenciosamente esta propiedad al leer los documentos que la utilizan.

¡Necesitamos su ayuda!