Obecné

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.

Pro přístup k tomuto příkazu...

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.


Ikona poznámky

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


Automatické vyplňování

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

Barva ohraničení

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

Barva pozadí

Barvu pozadí lze určit pro většinu polí a ovládacích prvků. Pokud klepnete na Barva pozadí, zobrazí se seznam, kde si je možné vybrat mezi různými barvami. Při volbě "Standardní" se použije nastavení systému. Pokud v seznamu nenajdete požadovanou barvu, klepněte na tlačítko ... a vyberte barvu v dialogu Barva.

Barva symbolu

Určuje barvu symbolů na ovládacím prvku, např. šipek posuvníku.

Desetinná přesnost

Pro číselná a měnová pole je možné určit počet číslic, které se zobrazí v desetinné části čísla.

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.

Formát data

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

Ikona poznámky

Zvolený formát je automaticky použit pro všechna formátovaná pole (data, času, měny, číselné) ihned po té co ukončíte jejich editaci a nezáleží při tom, jakým způsobem byl vstup zadán.


Formát času

Umožňuje zadat požadovaný formát času.

Formátování

Určuje formátovací kód pro ovládací prvek. Klepnutím na tlačítko ... jej možné kód vybrat.

Hodnota

Pro skryté ovládací prvky je možné pomocí vlastnosti Hodnota určit hodnotu, která bude přidána ke skrytému ovládacímu prvku. Tyto údaje se přenesou při odeslání formuláře.

Krok hodnoty

Je možné přednastavit intervaly hodnot v číselnících pro čísla a měnu. S pomocí šipek číselníku je možné hodnotu snížit nebo zvýšit.

Krok tabulátoru

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

Ne

When using the Tab key, focusing skips the control.

Ano

The control can be selected with the Tab key.


Lišta navigace

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

Malá změna

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

Max. datum

Uživatel nemůže zadat vyšší datum než toto.

Max. hodnota

Pro číselná a měnová pole je možné určit maximální hodnotu, kterou může uživatel zadat.

Max. hodnota posunu

Určuje maximální hodnotu pro posuvník.

Max. čas

Určuje maximální hodnotu času, kterou může uživatel zadat.

Maximální délka textu

Pro textová pole a pole se seznamem je možné určit maximální počet znaků, které může uživatel zadat. Pokud není tato vlastnost ovládacího prvku známa, nastaví se výchozí hodnota na nulu.

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

Min. datum

Určuje nejnižší datum, které může uživatel zadat.

Min. hodnota

Pro číselná a měnová pole je možné určit minimální hodnotu, uživatel nemůže zadat nižší.

Min. hodnota posunu

Určuje minimální hodnotu pro posuvník.

Min. čas

Určuje nejnižší čas, který může uživatel zadat.

Měřítko

Změní velikost obrázku, aby odpovídal velikosti ovládacího prvku.

Navigace

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.

Název

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.

Ikona poznámky

Při práci s makry se přesvědčte, že se žádné názvy formulářových polí neopakují.


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.

Obrázek

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.

Oddělovač tisíců

Pro číselná a měnová pole je možné určit, zda se použije oddělovač tisíců.

Ohraničení

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.

Opakovat

Určuje, zda se má opakovat akce ovládacího prvku, pokud na něj klepnete a držíte tlačítko myši (např. pro rolovací tlačítko nebo posuvník).

Orientace

Určuje, zda bude posuvník či rolovací tlačítko orientován svisle nebo vodorovně.

Pomocný text

Umožňuje zadat pomocný text, který se zobrazí jako tip ovládacího prvku. Pomocný text se zobrazí, když uživatel najede myší nad ovládací prvek.

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

Pomocný text

Pro každý ovládací prvek je možné určit doplňující informace nebo popisný text. Tato vlastnost pomáhá programátorovi uložit doplňující informace, které lze použít v kódu programu. Např. může toto pole použít pro proměnné nebo parametry.

Popisek

Určuje zdroj pro popisek ovládacího prvku. Místo názvu databázového pole se použije text popisku. Např. v dialogu Průvodce filtrem, Hledat a jako popis sloupců v zobrazení tabulky.

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.

Popisek tlačítek volby lze zadávat pouze jako název skupinového rámečku. Tento název se bude vztahovat ke všem přepínačům v jedné skupině.

Pokud klepnete na tlačítko ... vedle textového pole, zobrazí se dialog Výběr pole pro popisek. Vyberte popisek ze seznamu.

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

Popisek

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.

Ikona poznámky

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.


Posun kolečkem myši

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.

Posuvník

Přidá k textovému poli posuvník, jaký určíte.

Pouze pro čtení

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.

PoziceX

Určuje pozici ovládacího prvku na ose X s počátkem v místě ukotvení.

PoziceY

Určuje pozici ovládacího prvku na ose Y s počátkem v místě ukotvení.

Počet řádek

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.

Pořadí aktivace

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

Ikona poznámky

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.

V dialogu Pořadí aktivace je možné snadno určit indexy různých ovládacích prvků.

Prodleva

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.

Písmo

Pro ovládací prvky, které mají viditelný text nebo popisek, vyberte písmo, které chcete použít. Chcete-li otevřít dialog Písmo klepněte na tlačítko .... Vybrané písmo se použije pro popisek ovládacího prvku a k zobrazení dat.

Přepnout

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

Přesný formát

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.

Při klepnutí získat zaměření

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

Rolovací tlačítko

Rolovací tlačítka lze přidat k číselným polím, měnovým polím, polím pro data a pro čas.

Rozbalit

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.

Ve výchozím nastavení lze vždy rozbalovat pole se seznamem, která byla vložena jako sloupce v ovládacích prvcích tabulky.

Rámec

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.

Klepnete-li na pole, je možné výběrem ze seznamu určit, do kterého rámce se má další dokument načíst. Máte na výběr následujících možností:

Položka

Význam

_blank

Dokument se zobrazí v novém prázdném rámci.

_parent

Dokument se zobrazí v nadřazeném rámci. Pokud neexistuje nadřazený rámec, zobrazí se dokument ve stejném rámci.

_self

Dokument bude otevřen ve stejném rámci.

_top

Dokument se zobrazí v hlavním okně, tj. v nejvyšším rámci v hierarchii; je-li aktuální rámec hlavním oknem, zobrazí se dokument v aktuálním rámci.


Ikona poznámky

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


Seznam záznamů

Please note the tips referring to the keyboard controls.

Přednastavená výchozí položka seznamu se určuje v poli Výchozí výběr.

Ikona poznámky

Poznámka: položky seznamu se zapojí do formuláře pouze tehdy, je-li je na kartě Data v poli Obsah seznamu zvolena možnost "Seznam hodnot".


Pokud nechcete položky seznamu zapisovat do databáze nebo přenášet do webového formuláře, ale spíše přiřadit hodnoty, které nejsou ve formuláři vidět, je možné položky seznamu přiřadit jiným hodnotám v seznamu hodnot. Seznam hodnot se určuje na kartě Data. V poli Druh obsahu seznamu a do pole Obsah seznamu zadejte seznam hodnot, které se mají přiřadit odpovídajícím viditelným položkám seznamu. Pro správné přiřazení je důležité pořadí hodnot.

Ikona poznámky

Pro HTML dokumenty odpovídá položka seznamu zadaná na kartě Obecné HTML značce <OPTION>; položka v seznamu hodnot na kartě Data v poli Obsah seznamu odpovídá značce <OPTION VALUE=...>.


Skrýt výběr

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.

Styl

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

Symbol měny

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

Symbol pro předponu

Určuje, zda se symbol měny v měnovém poli zobrazí před nebo za číslem. Výchozí nastavení je zobrazení za číslem.

Textové řádky zakončeny

Pro textová pole vyberte kód konce řádku, který se použije při zápisu textu do databáze.

Tisknutelné

Určuje, zda se má toto ovládací pole tisknout.

Trojstav

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.

Ikona poznámky

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


Typ textu

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.

Ikona upozornění

Pokud vyberete typ textu "Víceřádkový s formátováním", není možné tento ovládací prvek svázat s databázovým polem.


Ikona poznámky

Pro textová pole v ovládacím prvku tabulky se tento typ textu jmenuje "Víceřádkový vstup".


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.

Pokud v uživatelském režimu najedete myší na tlačítko, zobrazí se URL jako tip, pokud nebyl zadán jiný Pomocný text.

URL nápovědy

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.

Ukotvení

Určuje místo ukotvení ovládacího prvku ke kterému je vztažena jeho pozice.

Umístě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.

Upravit masku

Určením masky je možné ovlivnit, jaké údaje může uživatel zadat do pole vzorku.

Délka vstupní masky určuje počet možných pozic vstupu. Pokud uživatel zadá znaky, které neodpovídají masce, vstup je při dokončení editace pole odmítnut. Vstupní masku je možné určit pomocí následujících znaků:

Znak

Význam

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

V této pozici mohou být zadány libovolné tisknutelné znaky.

X

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


Znakovou masku je možné například zadat v podobě "__.__.2002" a jako vstupní masku výraz v podobě "NNLNNLLLLL". Uživatel bude moci při zadávání data doplnit pouze čtyři číslice v pozicích označených písmenem N.

Velikost ikony

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

Velká změna

Určuje hodnotu, která se přičte nebo odečte, když uživatel klepne vedle posouvátka na posuvníku.

Viditelná velikost

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.

Viditelné

Určuje, zda bude ovládací prvek viditelný v režimu testování. V režimu návrhu jsou ovládací prvky vždy viditelné.

Uvědomte si, že nastavení této volby na hodnotu "Ano" (výchozí) neznamená nutně, že se daný ovládací prvek opravdu zobrazí. Při určování výsledné viditelnosti prvku jsou brány v úvahu další podmínky. Například ovládací prvek umístěný ve skryté sekci ve Writeru nebude nikdy viditelný, dokud nebude viditelná i sama sekce.

Pokud je volba nastavena na hodnotu "Ne", bude ovládací prvek v režimu testování vždy skryt.

Verze OpenOffice.org starší než 3.1 tuto volbu při načtení souborů, ve kterých je použita, tiše ignorují.

Vícenásobný výběr

Umožňuje vybrat více než jednu položku seznamu.

Výchozí datum

Nastaví výchozí datum.

Výchozí hodnota

Nastaví výchozí hodnotu ovládacího prvku. Výchozí hodnota se zobrazí např. při otevření formuláře.

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

Výchozí hodnota posunu

Nastaví výchozí hodnotu pro posuvník.

Výchozí stav

Určuje, zda je tato volba nebo zaškrtávací pole implicitně zapnuto.

Určuje také stav, pokud uživatel stiskne tlačítko typu Obnovit.

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

Výchozí text

Nastaví výchozí text pro textové pole nebo pole se seznamem.

Výchozí tlačítko

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.

Ikona poznámky

Tato vlastnost by vždy měla být přiřazena jen jednomu tlačítku ve formuláři.


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.

Výchozí výběr

Určuje položky seznamu, které se mají implicitně označit.

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.

V dialogu Výchozí výběr vyberte záznamy, které se mají označit při otevření formuláře, který obsahuje seznam.

Výchozí čas

Nastaví výchozí čas.

Výška

Určuje výšku ovládacího prvku.

Výška řádku

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.

Zalomení slova

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.

Zapnuto

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.

Zarovnání / Zarovnání obrázku

Zarovnání lze nastavit vlevo, vpravo či na střed. Tyto volby jsou k dispozici pro následující elementy:

  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.

    Ikona poznámky

    Volba Zarovnání pro tlačítka se nazývá Zarovnání obrázku.


Znaková maska

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.

Ikona poznámky

Délka znakové masky by měla vždy odpovídat délce znakového kódu zadaného v poli Vstupní maska. Pokud si délka obou masek nebude vzájemně odpovídat, bude znakový kód zadaný v poli Vstupní maska buď zkrácen, nebo doplněn mezerami na délku znakové masky.


Znaky hesla

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.

Ikona tipu

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


Značka záznamu

Určuje, zda se má první sloupec zobrazit s popisky řádků, kde je aktuální záznam označen šipkou.

Zvýšit/snížit hodnotu

Určuje intervaly pro zvýšení a snížení hodnoty číselníku.

Činnost

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:

Činnost

Popis

Žádné

Nestane se nic.

Odeslat formulář

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.

Chcete-li exportovat soubor do PDF, zadejte URL do pole "URL" ve vlastnostech formuláře.

Obnovit formulář

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

Otevřít dokument / webovou stránku

Otevře URL určené v poli URL. Cílový rámec je možné určit pomocí Rámec.

První záznam

Zobrazí první záznam.

Předchozí záznam

Zobrazí předchozí záznam.

Další záznam

Zobrazí další záznam.

Poslední záznam

Zobrazí poslední záznam.

Uložit záznam

Uloží aktuální záznam, pokud byl změněn.

Zpět: datová položka

Vrátí zpět změny provedené v aktuálním záznamu.

Nový záznam

Umožní ve formuláři vložit nový záznam.

Odstranit záznam

Smaže aktuální záznam.

Obnovit formulář

Načte naposledy uloženou verzi aktuálního formuláře.


Činnost na záznamu

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.

Šířka

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.

Šířka

Určuje šířku ovládacího prvku.