AllmÀnt

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.

SÄ hÀr anvÀnder du det hÀr kommandot...

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.


Symbolen Info

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


Aktiverad

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.

Aktiveringsordningsföljd

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

Symbolen Info

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.

Du kan ocksÄ ange indexen för olika kontrollelement i dialogrutan Aktiveringsordningsföljd.

Antal decimaler

NÀr det gÀller numeriska fÀlt och valutafÀlt kan du bestÀmma antalet siffror som visas till höger om decimaltecknet.

Antal rader

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.

AutoFyll

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

BakgrundsfÀrg

Det finns en bakgrundsfÀrg för de flesta kontrollfÀlt. Om du klickar pÄ BakgrundsfÀrg öppnas en lista dÀr du kan vÀlja mellan flera olika fÀrger. Alternativet "Standard" anvÀnder systeminstÀllningen. Om den fÀrg som du vill anvÀnda inte finns i listan klickar du pÄ knappen ... och definierar en fÀrg i dialogrutan FÀrg.

Bara lÀsa

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.

Bredd

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.

Bredd

Anger kontrollfÀltets bredd.

Datapostmarkör

Anger om den första kolumnen visas med radhuvuden, dÀr den aktuella posten markeras med en pil.

Datum max.

Anger ett datum som inte fÄr överskridas av ett annat vÀrde som anvÀndaren matar in.

Datumformat

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

Symbolen Info

Alla formatfÀlt (datum, tid, valuta, numeriska fÀlt) formateras automatiskt med det markerade formatet sÄ snart du flyttar markören frÄn dem, oavsett hur du har angett indata.


Dölj markering

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.

EtikettfÀlt

Anger kÀllan för kontrollens etikett. Texten för etikettfÀltet infogas dÀr namnet pÄ ett fÀlt i en kÀlldatabas hittas. Till exempel i Filternavigator, dialogrutan Sök och som ett kolumnnamn i tabellvyn.

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.

För alternativfÀlt (radioknappar) kan bara texten i gruppramen anvÀndas som etikettfÀlt. Den texten gÀller alltsÄ för alla alternativfÀlt i samma grupp.

Om Du klickar pÄ kommandoknappen ... bredvid textfÀltet sÄ visas dialogrutan Urval etikettfÀlt. HÀr vÀljer du ett kontrollfÀlt pÄ listan över kontrollfÀlt.

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

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.

Formatering

Anger kontrollens formatbeskrivning. Klicka pÄ knappen ... för att vÀlja en formatbeskrivning.

Formatkontroll

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.

Förankring

Anger var kontrollfÀltet ska förankras.

Fördröjning

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.

Grafik

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.

HjÀlp-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.

HjÀlptext

Gör att du kan ange en hjÀlptext som visas som ett tips pÄ kontrollen. Tipset visar texten i anvÀndarlÀge dÄ musen förs över kontrollen.

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

HjÀlptext

För varje kontrollfÀlt kan du ange övrig information eller en beskrivande text. Den hÀr egenskapen kan anvÀndas av utvecklare, t.ex. för att lagra övrig information som sedan kan anvÀndas i programkoden. FÀltet kan till exempel anvÀndas för variabler eller andra parametrar.

Höjd

Anger kontrollfÀltets höjd.

IkonfÀrg

Anger fÀrgen för ikoner eller kontroller, till exempel pilarna i en rullningslist.

Ikonstorlek

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

Inmatningsmask

Genom att ange en teckenkod i ett maskerat fÀlt kan du bestÀmma vad anvÀndaren kan skriva in i det maskerade fÀltet.

LÀngden pÄ inmatningsmasken avgör hur mÄnga tecken som anvÀndaren kan skriva in. Om anvÀndaren skriver in tecken som inte ingÄr i masken godtas inte inmatningen nÀr anvÀndaren lÀmnar fÀltet. Du kan anvÀnda följande tecken i en inmatningsmask:

Tecken

Innebörd

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

Alla utskrivbara tecken kan skrivas in.

X

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


För teckenmasken ""__.__.2000" definierar du t.ex. inmatningsmasken "NNLNNLLLLL", om du vill att anvÀndaren bara ska kunna mata in fyra siffror för att ange datum.

InramningsfÀrg

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

Intervall

FaststÀller vilka intervall som ska lÀggas till eller dras ifrÄn varje gÄng som rotationsrutekontrollen aktiveras.

Intervall

Du kan fördefiniera vĂ€rdeintervallerna i numeriska rotationsrutor och valutarotationsrutor. Öka och minska vĂ€rdet med rotationsrutornas pilknappar.

Justering/Justering av grafikobjekt

Justeringsalternativen Àr vÀnsterjusterad, högerjusterad och centrerad. Dessa alternativ Àr tillgÀngliga för följande element:

  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.

    Symbolen Info

    Alternativet Justering för knappar kallas för Grafikjustering.


Listposter

Please note the tips referring to the keyboard controls.

Den fördefinierade standardlistposten anges i urvalskombinationsfÀltet Standard

Symbolen Info

Observera att listposterna som anges hÀr bara tas med i formulÀret om alternativet "VÀrdelista" Àr markerat under fliken Data under Typ av listinnehÄll.


Om du inte vill att listposterna ska skrivas till databasen eller överföras till webbformulÀrmottagaren, utan i stÀllet tilldelas vÀrden som inte syns i formulÀret, kan du ange andra vÀrden för listposterna i en vÀrdelista. VÀrdelistan anges pÄ fliken Data. VÀlj alternativet "VÀrdelista" under Typ av listinnehÄll. Ange sedan de vÀrden under ListinnehÄll som motsvarande synliga listposter i formulÀret ska tilldelas. Ordningen i vÀrdelistan mÄste vara korrekt för att tilldelningen ska bli korrekt.

Symbolen Info

NÀr det gÀller HTML-dokument motsvarar en listpost som anges pÄ fliken AllmÀnt HTML-taggen <OPTION>. En post i vÀrdelistan som anges pÄ fliken Data under ListinnehÄll motsvarar taggen <OPTION VALUE=...>.


Liten Àndring

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

Markera vid klick

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

Max. rullningsvÀrde

Ange det största vÀrdet för en rullningslistkontroll.

Max. textlÀngd

För text- och kombinationsfÀlt kan du ange det största antalet tecken som anvÀndaren kan mata in. Om den hÀr kontrollegenskapen Àr odefinierad kommer standardvÀrdet att vara noll.

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

Max. vÀrde

För numeriska fÀlt och valutafÀlt kan du ange det största vÀrdet som anvÀndaren kan mata in.

Maximitid

Anger ett klockslag som inte fÄr överskridas av det vÀrde som anvÀndaren matar in.

Min. rullningsvÀrde

Ange det minsta vÀrdet för en rullningslistkontroll.

Min. vÀrde

För numeriska fÀlt och valutafÀlt kan du ange ett lÀgstavÀrde för att förhindra att anvÀndaren anger ett lÀgre vÀrde.

Minimidatum

Anger det tidigaste datum som anvÀndaren kan mata in.

Minimitid

Anger det minsta tidsvÀrde som anvÀndaren kan mata in.

Multimarkering

Gör att du kan markera fler Àn ett objekt i en listruta.

Musrullning

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.

Namn

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.

Symbolen Info

Om Du arbetar med makron mÄste Du tÀnka pÄ att namnen pÄ kontrollfÀlten mÄste vara entydiga.


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.

Navigation

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.

Navigationslist

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

Ordbrytning

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.

Orientering

Anger horisontell eller vertikal orientering för en rullningslist eller rotationsruta.

Placera symbol framför

Anger om valutasymbolen visas före eller efter det numeriska vÀrdet i valutafÀlt. StandardinstÀllningen Àr att valutasymbolen inte skrivs före det numeriska vÀrdet.

Placering

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.

PositionX

Anger X-lÀget för kontrollfÀltet (relativt förankringen).

PositionY

Anger Y-lÀget för kontrollfÀltet (relativt förankringen).

Radhöjd

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.

Ram

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.

Om du klickar i fÀltet kan du markera ett alternativ i listan som anger i vilken ram nÀsta dokument ska laddas. Följande möjligheter finns:

Post

Innebörd

_blank

Det följande dokumentet visas i en ny, tom ram.

_parent

Det följande dokumentet visas i en parent, alltsÄ en överordnad ram. Om det inte finns nÄgon parent, visas dokumentet i samma ram.

_self

Det följande dokument visas i samma ram.

_top

Det följande dokumentet visas i ett toppfönster, d.v.s. i den högsta ramen i hierarkin. Om utgÄngsramen redan Àr ett toppfönster visas dokumentet i samma ram.


Symbolen Info

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


Ram

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.

Rotationsknapp

Numeriska fÀlt, valutafÀlt, datum- och klockslagsfÀlt kan infogas som rotationsfÀlt i formulÀret.

Rubrik

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.

Symbolen Info

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.


Rullningslist

LĂ€gger till den typ av rullningslist som du anger i en textruta.

Skala

Ändrar storlek pĂ„ bilden sĂ„ att den passar kontrollen.

Standarddatum

Anger standarddatum.

Standardknapp

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.

Symbolen Info

I ett givet dokument bör det bara finnas en knapp med den hÀr egenskapen.


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.

Standardmarkering

Anger vilken listrutepost som ska anvÀndas som standardpost.

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.

I dialogrutan Standardmarkering vÀljer du de poster som du vill mÀrka ut som markerade nÀr du öppnar formulÀret med listrutan.

Standardstatus

Anger om ett alternativ eller en kryssruta Àr markerad som standard.

För en ÄterstÀllningsknapp kan du ange kontrollens status om ÄterstÀllningsknappen aktiveras av anvÀndaren.

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

Standardtext

Anger standardtext för en textruta eller kombinationsruta.

Standardtid

Anger standardtid.

StandardvÀrde

Anger standardvÀrdet för kontrollfÀltet. StandardvÀrdet matas in nÀr formulÀret öppnas, t.ex.

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

StandardvÀrde för rullning

Anger standardvÀrdet för rullningslisten.

Stil

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

Stor Àndring

Ange vÀrdet som ska lÀggas till eller dras ifrÄn nÀr anvÀndaren klickar bredvid skjutreglaget vid rullningslisten.

Synlig

Anger huruvida kontrollfÀltet Àr synligt i livelÀge. Det Àr alltid synligt i utkastlÀge.

Observera att standardvÀrdet "Ja" inte behöver innebÀra att kontrollfÀltet visas pÄ skÀrmen. Det finns andra begrÀnsningar som spelar in och kan leda till att fÀltet inte visas. KontrollfÀlt som finns inuti dolda avsnitt i Writer förblir exempelvis osynliga tills avsnitten görs synliga.

Om egenskapen anges som "Nej" Àr kontrollfÀltet alltid dolt i livelÀge.

I Àldre versioner av OpenOffice.org förbigÄs denna egenskap utan att nÄgot meddelande visas (i dokument som den anvÀnds i).

Synlig storlek

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.

Tabbstopp

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

Nej

When using the Tab key, focusing skips the control.

Ja

The control can be selected with the Tab key.


Tecken för lösenord

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.

Symbolen Tips

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


Teckenmask

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.

Symbolen Info

Teckenmaskens lÀngd mÄste alltid vara lika med inmatningsmaskens lÀngd. I annat fall kommer inmatningsmasken antingen att kapas eller fyllas ut med blanksteg till inmatningsmaskens lÀngd.


Teckensnitt

För kontrollfÀlt med synlig text eller rubriker kan du sjÀlv vÀlja teckensnitt. Om du vill öppna dialogrutan Teckensnitt klickar du pÄ knappen .... Det valda teckensnittet anvÀnds för namnen pÄ kontrollfÀlten och för informationen i tabellernas kontrollfÀlt.

Textrader avslutas med

För textfÀlt vÀljer du radslutskoden som ska anvÀndas nÀr text skrivs i en databaskolumn.

Texttyp

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.

Varningssymbol

Om du markerar texttypen "Flera rader med formatering" kan du inte binda den hÀr kontrollen till ett databasfÀlt.


Symbolen Info

Den hÀr kontrollen kallas för "Flerradig" och Àr till för en textkolumn i en tabellkontroll.


Tidsformat

Du kan definiera ett visst format för visningen av tidsvÀrden.

Trefaldig status

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.

Symbolen Info

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


Tusentalsavskiljare

För numeriska fÀlt och valutafÀlt kan du ange om en tusentalsavgrÀnsare ska anvÀndas.

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.

Om du flyttar musen över knappen i anvÀndarlÀge visas URL:en som ett utökat tips, förutsatt att ingen annan hjÀlptext har angetts.

Upprepa

Anger om ÄtgÀrden för en kontroll, till exempel en rotationsknapp, upprepas nÀr du klickar pÄ kontrollen och hÄller ned musknappen.

Utskrivbar

Anger om du vill att kontrollfÀltet ska visas nÀr dokumentet skrivs ut.

Valutasymbol

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

VĂ€rde

I en dold kontroll kan du ange data som Àrvs av den dolda kontrollen under VÀrde. VÀrdet kommer att skickas nÀr formulÀret skickas.

VĂ€xla

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

ÅtgĂ€rd

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:

ÅtgĂ€rd

Beskrivning

Inget

Ingen ÄtgÀrd utförs.

Skicka formulÀr

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.

Skriv URL:en i formulÀrets "URL"-textruta för dataegenskap nÀr du exporterar till en PDF-fil.

ÅterstĂ€ll formulĂ€r

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

Öppna dokument/webbsida

Öppnar den URL som angetts under URL. Du kan ange mĂ„lramen med hjĂ€lp av Ram.

Första posten

Flyttar det aktuella formulÀret till den första posten.

FöregÄende post

Flyttar det aktuella formulÀret till föregÄende post.

NĂ€sta post

Flyttar det aktuella formulÀret till nÀsta post.

Sista posten

Flyttar det aktuella formulÀret till den sista posten.

Spara post

Sparar den aktuella posten om det behövs.

Ångra datainmatning

Ångrar Ă€ndringarna i den aktuella posten.

Ny post

Flyttar det aktuella formulÀret till den infogade raden.

Radera datapost

Tar bort den aktuella posten.

Uppdatera formulÀr

LÀser in den senast sparade versionen av det aktuella formulÀret.


ÅtgĂ€rda en post

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.

Öppningsbar

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.

KombinationsfÀlt som infogas som kolumner i ett tabellkontrollfÀlt Àr normalt alltid öppningsbara.