Generale

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 accedere a questo comando...

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


Abilitato

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.

Agire su un record di dati

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.

Allineamento / Allineamento delle immagini

Le opzioni di allineamento sono a sinistra, a destra e al centro. Sono disponibili le seguenti opzioni per i seguenti elementi:

  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 di nota

    L'opzione Allineamento per i pulsanti è chiamata Allineamento grafico.


Altezza

Definisce l'altezza del campo di controllo.

Altezza riga

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.

Ancoraggio

Definisce dove verrà ancorato il campo di controllo.

Apribile

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.

Le caselle combinate, che sono state inserite come colonne in un campo di controllo tabella, sono sempre apribili.

Assegna punto focale con un clic

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

Attiva/Disattiva

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

Barra di navigazione

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

Barra di scorrimento

Bordo

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.

Car. di separaz. migliaia

Per i campi numerici e di valuta, potete impostare l'utilizzo di un separatore di migliaia.

Caratteri per le password

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 di suggerimento

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


Colore bordo

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

Colore di sfondo

Il colore di sfondo è disponibile per la maggior parte dei campi di controllo. Facendo clic su Colore di sfondo, si apre un elenco che vi permette di scegliere tra diversi colori. L'opzione "Standard" adotta le impostazioni di sistema. Se il colore desiderato non è incluso nell'elenco, fate clic sul pulsante ... per definire un colore nella finestra di dialogo Colore.

Colore simbolo

Specifica il colore dei simboli da visualizzare sui controlli, ad esempio sulle frecce di una barra di scorrimento.

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

Cornice

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.

Facendo clic sul campo, potete selezionare dall'elenco un'opzione che specifichi il frame in cui dovrà essere caricato il documento successivo. Sono disponibili le seguenti opzioni:

Voce

Significato

_blank

Il documento successivo viene inserito in un frame nuovo, vuoto.

_parent

Il documento successivo viene creato in un frame superiore (genitore). Se non è presente un genitore, il documento viene creato nello stesso frame.

_self

Il documento successivo viene strutturato nello stesso frame.

_top

Il documento successivo viene creato nella finestra superiore (top), ossia nel frame più alto della gerarchia. Se il frame di uscita è già una finestra superiore, il documento viene creato nello stesso frame.


Icona di nota

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


Data max

Data min

Determina la prima data che l'utente può inserire.

Data predefinita

Permette di impostare la data predefinita.

Didascalia

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


Dimensioni icona

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

Dimensioni visibili

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.

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 data

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

Icona di nota

Tutti i campi formato (data, orario, valuta, numerico) vengono formattati automaticamente nel formato selezionato in questa sezione, indipendentemente dal tipo di formato utilizzato dall'utente per la digitazione.


Formato orario

Potete definire il formato desiderato per la visualizzazione dell'ora.

Formattazione

Specifica il codice di formato per il campo di controllo. Fare clic sul pulsante ... per selezionare il formato desiderato.

Grossa modifica

Specificare il valore da aggiungere o da sottrarre in risposta a un clic sull'icona a freccia della barra di scorrimento.

Guida URL

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.

Immagine

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.

Interruzione di parola

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.

Intervallo

Potete preimpostare il valore degli intervalli per caselle di selezione numeriche e di valuta. Usate i pulsanti verso l'alto e il basso della casella di selezione per incrementare o decrementare il valore.

Larghezza

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.

Larghezza

Definisce la larghezza del campo di controllo.

Le righe di testo terminano con

Per i campi di testo, selezionare il codice di fine riga da utilizzare per la scrittura del testo nelle colonne di un database.

Lunghezza max testo

Per le caselle di testo e le caselle combinate, potete definire il numero massimo di caratteri da inserire. Se non viene specificato un valore per questa proprietà del campo di controllo, viene usata l'impostazione predefinita 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).

Maschera caratteri

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 di nota

Si consiglia di fare corrispondere la lunghezza della maschera caratteri alla lunghezza della maschera di digitazione. In caso contrario, la maschera di digitazione viene tagliata oppure riempita con spazi per tutta la sua lunghezza.


Maschera di digitazione

Specificando il codice del carattere in un campo a maschera, potete determinare quali informazioni si possono inserire in quel campo.

La lunghezza della maschera determina il numero delle possibili posizioni di digitazione. Se i caratteri inseriti non corrispondono alla maschera di digitazione, all'uscita dal campo il contenuto inserito viene rifiutato. Per definire la maschera di digitazione potete inserire i caratteri seguenti:

Carattere

Significato

C (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

Possono essere digitati tutti i caratteri stampabili.

X

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


Definite, ad esempio, per la maschera caratteri "__.__.2000" la maschera di digitazione "NNLNNLLLLL", per permettere all'utente di digitare solo quattro cifre per l'indicazione della data.

Nascondi la selezione

Specifica se la selezione di testo su un controllo rimane attiva quando il punto focale non si trova più sul controllo. Se impostate Nascondi la selezione su "No", il testo selezionato rimane tale anche quando il punto focale non è più sul controllo che contiene il testo.

Navigazione

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.

Nome

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 di nota

Se lavorate con le macro, assicuratevi che i nomi dei campi di controllo siano univoci.


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.

Numero delle righe

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.

Operazione

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:

Operazione

Descrizione

Nessuno

Non viene eseguita nessuna operazione.

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

Digitate l'URL nella proprietà di dati "URL" del formulario quando eseguite un'esportazione in formato PDF.

Ripristina formulario

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

Apri documento / pagina Web

Apre la URL specificata sotto URL. Potete usare Frame per specificare la cornice in cui aprire il collegamento.

Primo record di dati

Sposta il formulario attuale sul primo record di dati.

Record precedente

Sposta il formulario attuale sul record di dati precedente.

Record successivo

Sposta il formulario attuale sul record di dati successivo.

Ultimo record

Sposta il formulario attuale sull'ultimo record di dati.

Salva record

Salva il record di dati attuale, se necessario.

Annulla inserimento dati

Annulla le modifiche nel record di dati attuale.

Nuovo record

Sposta il formulario attuale sulla riga di inserimento.

Elimina record

Elimina il record di dati attuale.

Aggiorna formulario

Carica nuovamente l'ultima versione salvata del formulario attuale.


Orario predefinito

Permette di impostare l'orario predefinito.

Orientazione

Specifica l'orientazione orizzontale o verticale di una barra di scorrimento o di un pulsante di selezione.

Piccola modifica

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

Posizionamento

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.

PosizioneX

Definisce la posizione X del campo di controllo, rispetto all'ancoraggio.

PosizioneY

Definisce la posizione Y del campo di controllo, rispetto all'ancoraggio.

Posizioni decimali

Per i campi numerici e di valuta, potete determinare il numero di cifre da visualizzare a destra della virgola decimale.

Premetti simbolo

Determina se il simbolo della valuta debba essere visualizzato prima o dopo il numero nei campi di valuta. Nell'impostazione predefinita, il simbolo di valuta non viene anteposto al numero.

Pulsante di selezione

I campi numerici, i campi di valuta i campi data e orario possono essere inseriti nel formulario come pulsanti di selezione.

Pulsante predefinito

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 di nota

Questa proprietà dovrebbe essere assegnata a un solo pulsante all'interno del 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.

Riempimento automatico

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

Ripeti

Specifica la ripetizione dell'azione di un campo di controllo, quale un pulsante di selezione, quando si fa clic sul campo di controllo e si tiene premuto il pulsante del mouse.

Ritardo

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.

Scala

Ridimensiona l'immagine adattandola alle dimensioni del controllo.

Scorrimento del mouse

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.

Selezionatore record di dati

Specifica se la prima colonna debba contenere le diciture delle righe e il record attivo debba essere identificato da una freccia.

Selezione multipla

Selezione predefinita

Specifica la voce della casella di riepilogo da contrassegnare come voce predefinita.

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.

Nella finestra di dialogo Selezione predefinita impostate le voci che desiderate contrassegnare come selezionate quando si apre il formulario contenente la casella di riepilogo.

Sequenza di attivazione

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

Per definire comodamente gli indici di diversi elementi di controllo potete utilizzare anche la finestra di dialogo Sequenza di attivazione.

Simbolo valuta

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

Solo lettura

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.

Stampabile

Include il campo di controllo nella stampa del documento.

Stato predefinito

Specifica se un'opzione o una casella di controllo debbano essere selezionate in modo predefinito.

Per un pulsante di tipo reset potete definire lo stato dei controlli, se il pulsante di reset viene attivato dall'utente.

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

Stato triplo

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 di nota

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


Stile

Specifica il modo di visualizzazione delle caselle di controllo e dei pulsanti di scelta, in formato tridimensionale (predefinito) o piano.

Tabulazione

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.

Sì

The control can be selected with the Tab key.


Tempo max

Tempo min

Determina l'ora minima che l'utente può inserire.

Testo della Guida

Offre la possibilità di inserire un testo di Guida da visualizzare come suggerimento sul campo di controllo. Il suggerimento verrà visualizzato in modo utente posizionando il puntatore del mouse sopra il campo di controllo.

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

Testo della Guida

In tutti i campi di controllo potete specificare informazioni aggiuntive o un testo descrittivo per il campo. Questa proprietà permette ai programmatori di salvare informazioni aggiuntive che possono essere utilizzate nel codice del programma. Ad esempio, si può utilizzare questo campo per le variabili o altri parametri di valutazione.

Testo fisso

Specifica la sorgente per l'etichetta del controllo. Il contenuto del testo fisso viene inserito in tutti i punti in cui si trova il nome di un campo del database sorgente. Ad esempio, nella finestra di dialogo Navigatore filtro, Cerca e come nome di colonna nella vista tabella.

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.

Per i pulsanti di scelta (radio buttons) è permesso come testo fisso solamente il testo della rispettiva casella di gruppo. Questo testo è valido per tutti i pulsanti di scelta dello stesso gruppo.

Se fate clic sul pulsante ... accanto al campo di testo, viene aperta la finestra di dialogo Selezione testo fisso. Selezionate una didascalia dall'elenco.

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

Testo predefinito

Permette di impostare il testo predefinito per una casella di testo o una casella combinata.

Tipo di carattere

Per quei campi di controllo che hanno testo o titoli visibili, selezionate il tipo di carattere da usare. Per aprire la finestra di dialogo Tipi di carattere, fate clic sul pulsante .... Il tipo di carattere scelto verrà usato nel nome del campo di controllo e per mostrare dati in campi di controllo a tabella.

Tipo di testo

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 di avvertenza

Se selezionate il tipo di testo "Più righe con formattazione", non potete associare questo controllo a un campo di database.


Icona di nota

Per le colonne di testo all'interno di un controllo tabella questo controllo è chiamato "Digitazione a più righe".


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.

Se muovete il mouse sul pulsante in modalità utente, l'indirizzo URL comparirà come suggerimento, a patto che non sia stato digitato altro testo di aiuto.

Valore

Nei campi di controllo nascosti, sotto Valore, potete inserire i dati ereditati dal campo di controllo. Tali dati verranno trasferiti al momento dell'invio del formulario.

Valore di scorrimento min.

Permette di specificare il valore minimo per un controllo barra di scorrimento.

Valore di scorrimento predefinito

Imposta il valore predefinito per la barra di scorrimento.

Valore increm./decrem.

Determina gli intervalli da sommare o sottrarre ogni volta che viene premuto il pulsante del controllo di selezione.

Valore max

Per i campi numerici e di valuta, potete impostare il valore massimo da inserire.

Valore min

Per campi numerici e di valuta, potete determinare un valore minimo in modo da impedire all'utente di inserire un valore più piccolo.

Valore predefinito

Imposta il valore predefinito per il campo di controllo. Il valore standard è quello che compare automaticamente all'apertura del 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.

Valori max. scorrimento

Permette di specificare il valore massimo per un controllo barra di scorrimento.

Visibile

Definisce se il campo di controllo sarà visibile in modo live. In modo bozza, il campo di controllo è sempre visibile.

Si noti che se la proprietà è impostata su "Sì" (predefinito), non significa necessariamente che il campo di controllo appaia realmente sullo schermo. Ulteriori vincoli sono applicati per il calcolo dell'effettiva visibilità di un campo di controllo. Per esempio, un campo di controllo collocato in una sezione nascosta in Writer non sarà mai visibile, almeno fino a quando la sezione stessa diventerà visibile.

Se la proprietà è impostata su "No", allora il campo di controllo sarà sempre nascosto in modalità live.

Le vecchie versioni di OpenOffice.org fino alla 3.1 ignorano questa proprietà nella lettura dei documenti che ne fanno uso.

Voci dell'elenco

Please note the tips referring to the keyboard controls.

La voce predefinita dell'elenco sarà quella specificata nella casella combinata Valore predefinito.

Icona di nota

Notate che le voci dell'elenco inserite in questi campi vengono incorporate nel formulario solo se nel campo Tipo del contenuto della lista della scheda Dati, avete selezionato l'opzione "Lista valori".


Se non volete che le voci d'elenco siano scritte nel database o trasmesse al destinatario del formulario Web, ma preferite che i valori assegnati non siano visibili nel formulario, potete assegnare altri valori alle voci dell'elenco in un elenco di valori. L'elenco dei valori è determinato nella scheda Dati. Sotto Under Tipo di contenuto dell'elenco, selezionate l'opzione "Elenco valori". Quindi digitate i valori che devono essere assegnati al corrispondente elenco di voci visibili del formulario sotto Contenuti elenco. Al fine di un'assegnazione corretta, l'ordine di immissione dell'elenco valori è importante.

Icona di nota

Per i documenti HTML, la voce di un elenco inserita sulla scheda Generalecorrisponde al tag HTML<OPTION>; una voce dell'elenco dei valori inserita sulla scheda Dati in Contenuto elenchi corrisponde al tag <OPTION VALUE=...>.