Общие

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.

Доступ к этой команде

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.


Значок примечания

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


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.

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.

Автозаполнение

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

Адрес 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.

Если в пользовательском режиме указатель мыши навести на переключатель, адрес URL выводится в виде всплывающей подсказки, если не вводился другой текст справки.

Буквенная маска

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.

Значок примечания

Длина буквенной маски всегда должна соответствовать длине маски правки. Если это не соблюдается, буквенная маска либо отсекается, либо заполняется пробелами до длины маски правки.


Видимый

Используется для определения необходимости отображения элемента управления в режиме реального времени. В режиме разработки элемент управления отображается.

Следует отметить, что если для данного свойства определено значение "Да" (по умолчанию), то это не обязательно означает отображение элемента управления на экране. При определении видимости элемента управления необходимо учитывать дополнительные ограничения. Например, элемент управления, размещенный в модуле Writer в скрытом разделе, будет отображаться только в том случае, если этот раздел станет видимым.

Если для свойства определено значение "Нет", то этот элемент управления будет скрыт в режиме реального времени.

В версиях, предшествующих OpenOffice.org 3.1, при чтении документов, в которых использовано это свойство, оно игнорируется.

Видимый размер

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.

Включено

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.

Время по умолчанию

Задаёт значение времени по умолчанию.

Выбор по умолчанию

Определяет, что элемент списка должен быть помечен как использующийся по умолчанию.

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.

В диалоговом окне Выбор по умолчанию выберите элементы, которые необходимо пометить как выбранные при открытии формы, содержащей список.

Выравнивание / выравнивание графических объектов

Варианты выравнивания: по левому краю, по правому краю, по центру. Эти параметры доступны для следующих элементов:

  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.

    Значок примечания

    Параметр Выравнивание для кнопок имеет название Выравнивание графических объектов.


Высота

Используется для определения высоты элемента управления.

Высота строки

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.

Границы

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.

Групповое выделение

Позволяет выделить несколько элементов в списке.

Дата по умолчанию

Задаёт значение даты по умолчанию.

Действие

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:

Действие

Описание

Нет

Нет действия.

Отправить

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.

Введите адрес URL в текстовое поле "URL" свойства данных формы при экспорте в файл PDF.

Сброс

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

Открыть документ / веб-страницу

Открывает URL, указанный в поле URL. Для указания целевого фрейма можно использовать поле Фрейм.

Первая запись

Перемещает текущую форму к первой записи.

Предыдущая запись

Перемещает текущую форму к предыдущей записи.

Следующая запись

Перемещает текущую форму к следующей записи.

Последняя запись

Перемещает текущую форму к последней записи.

Сохранить запись

Сохраняет текущую запись, если необходимо.

Отменить ввод данных

Отменяет изменения в текущем документе.

Создать запись

Перемещает текущую форму для вставки строки.

Удалить запись

Удаляет текущую запись.

Обновить форму

Перезагружает последнюю сохраненную версию текущей формы.


Действия над записью

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.

Для печати

Определяет, будет ли поле элемента управления появляться в печатной копии документа.

Задержка

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.

Захватить фокус при щелчке

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

Значение

В поле скрытого элемента управления, для значения можно ввести данные, которые наследуются скрытым элементом управления. Эти данные будут преобразованы при отправке формы.

Значение по умолчанию

Задаёт значение по умолчанию для элемента управления. Например, значение по умолчанию будет введено, когда форма будет открыта.

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

Значение прокрутки по умолчанию

Задаёт значение по умолчанию для полосы прокрутки.

Значение шага

Определяет интервалы, которые будут добавляться или вычитаться при каждой активизации счётчика.

Имя

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.

Значок примечания

При работе с макросами убедитесь, что имена элементов управления уникальны.


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.

Кнопка по умолчанию

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.

Значок примечания

Это свойство должно быть назначено только одной кнопке в документе.


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.

Макс. время

Определяет время, значение больше которого не может быть введено пользователем.

Макс. дата

Определяет дату, значение больше которой не может быть введено пользователем.

Макс. длина текста

Для текста и полей со списком можно определить максимальное число символов, которые может ввести пользователь. Если это свойство поля элемента управления не определено, применяется значение по умолчанию, равное нулю.

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

Макс. значение

Для числовых полей и полей валюты можно определить максимальное значение, которое пользователь может ввести.

Макс. значение прокрутки

Укажите максимальное значение элемента управления полосы прокрутки.

Маркер записи

Указывает, будет ли первый столбец отображаться с метками строк, когда текущая запись помечена стрелкой.

Маска правки

Указав код символа в поле с маской ввода, можно определить, что пользователь может вводить в поле с маской ввода.

Длина маски правки определяет число возможных позиций ввода. Если ввести символы, не соответствующие маске правки, ввод отклоняется, когда пользователь выходит из этого поля. Чтобы определить маску правки, можно ввести следующие символы:

Символ

Значение

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

Можно вводить все печатаемые символы.

X

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


Для буквенной маски "__.__.2000", например, определите маску правки "NNLNNLLLLL", позволяющую пользователю ввести только четыре цифры при вводе даты.

Масштаб

Изменяет масштаб рисунка в соответствии с размером элемента управления.

Метка

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.

Значок примечания

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.


Мин. время

Определяет минимальное время, которое пользователь может ввести.

Мин. дата

Определяет самую раннюю дату, которую пользователь может ввести.

Мин. значение прокрутки

Укажите минимальное значение элемента управления полосы прокрутки.

Минимальное значение

Для числовых полей и полей валюты можно определить минимальное значение, значение меньше которого пользователь не может ввести.

Навигация

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.

Ориентация

Определяет горизонтальную или вертикальную ориентацию полосы прокрутки или счётчика.

Остановка табуляции

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

нет

When using the Tab key, focusing skips the control.

Да

The control can be selected with the Tab key.


Панель переходов

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

Переключить

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

Переносы слов

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.

Повторить

Указывает, должно ли действие элемента управления, например, кнопки счётчика, повторяться, если нажать и удерживать нажатой кнопку мыши.

Поле метки

Указывает источник метки для элемента управления. Текст поля метки будет использоваться вместо имени поля базы данных. Например, в навигаторе фильтров, диалоговом окне Поиск и в качестве имени столбца в таблице.

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.

При использовании переключателей в качестве поля метки можно применять только текст или рамку группы. Этот текст применяется ко всем переключателям одной группы.

Если нажать кнопку ... рядом с текстовым полем, будет открыто окно Выбор метки. Выберите метку из списка.

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

Положение

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.

Положение_X

Используется для определения положения элемента управления по оси X относительно привязки.

Положение_Y

Используется для определения положения элемента управления по оси Y относительно привязки.

Полоса прокрутки

Добавляет указанный тип полосы прокрутки в текстовое поле.

Последовательность перехода

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

Значок примечания

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.

Также легко можно определить индексы различных элементов управления в диалоговом окне Последовательность перехода.

Привязка

Используется для определения позиции привязки элемента управления.

Прокрутка колесиком мыши

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.

Разделение разрядов

Для числовых полей и полей валюты можно определить, будет ли использоваться разделитель разрядов.

Размер значков

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

Раскрывающийся

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.

Поля со списком, которые были вставлены как столбцы в элемент управления "Таблица", всегда являются раскрывающимися по умолчанию.

Рисунки

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.

С тремя состояниями

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.

Значок примечания

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


Символ валюты

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

Символ префикса

Определяет, будет ли символ префикса валюты отображаться перед или посте числа при использовании полей валюты. По умолчанию символы валюты не добавляются в качестве префикса.

Символы пароля

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.

Значок подсказки

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


Скрыть выделение

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.

Состояние по умолчанию

Определяет, выбран ли данный параметр или флажок по умолчанию.

Для кнопки сброса типа можно определить состояние элемента управления, если нажать кнопку сброса.

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

Стиль

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

Строгий формат

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.

Счётчик

Числовые поля, поля валюты, даты и времени могут быть помещены в форму как счётчики.

Текст по умолчанию

Задаёт текст по умолчанию для текстового поля или поля со списком.

Текст справки

Предоставляет возможность ввода текста справки, который будет отображаться как подсказка для элемента управления. Совет отображает текст в пользовательском режиме при наведении курсора на элемент управления.

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

Текст справки

В каждом поле элемента управления можно определить дополнительные сведения или описательный текст для поля элемента управления. Это свойство помогает программисту сохранить дополнительные сведения, которые могут использоваться в программном коде. Это поле может, например, использоваться для переменных или других параметров оценки.

Текстовые строки оканчиваются

Для текстовых полей выберите код окончания строки, который будет использоваться при записи текста в столбец базы данных.

Тип текста

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.

Значок предупреждения

Если выбран тип текста "Многострочный с форматированием", то этот элемент управления нельзя связать с полем базы данных.


Значок примечания

Этот элемент называется "Многострочный ввод" для столбца текста внутри таблицы.


Только для чтения

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.

Точность для десятичной записи

Для числовых полей и полей валюты можно определить количество цифр после запятой.

Формат времени

Можно определить необходимый формат для отображения времени.

Формат даты

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

Значок примечания

Ко всем полям формата (даты, времени, валюты, числовое) автоматически применяется выбранный формат сразу после выхода из них, независимо от того, как были введены данные.


Форматирование

Определяет код формата для элемента управления. Нажмите кнопку ..., чтобы выбрать код формата.

Фрейм

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.

Если щёлкнуть это поле, можно выбрать рамку из списка, в которую должен быть загружен следующий документ. Имеются следующие возможности:

Элемент

Значение

_blank

Следующий документ создаётся в новой пустой рамке.

_parent

Следующий документ создаётся в родительской рамке. Если родители не существуют, документ создаётся в той же самой рамке.

_self

Следующий документ создаётся в той же рамке.

_top

Следующий документ создаётся в окне верхнего уровня, то есть в высшей рамке в иерархии; если текущая рамка уже находится в верхнем окне, документ создаётся в текущей рамке.


Значок примечания

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


Цвет границ

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

Цвет символов

Определяет цвет символов для элементов управления, например, стрелок в полосе прокрутки.

Цвет фона

Цвет фона доступен для большинства полей элементов управления. Если нажать кнопку Цвет фона, будет открыт список, который позволяет выбрать цвет. Параметр "Стандартный" означает принятие системных настроек. Если требуемого цвета нет в списке, нажмите кнопку ..., чтобы определить цвет в диалоговом окне Цвет.

Число строк

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.

Шаг блока

Укажите значение, которое необходимо прибавить или вычесть, при щелчке пользователя рядом с ползунком полосы прокрутки.

Шаг значения

Можно предварительно задать интервалы значений для числовых счётчиков и счётчиков валюты. Используйте кнопки счётчика со стрелками вверх и вниз для увеличения или уменьшения значения.

Шаг линии

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

Ширина

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.

Ширина

Используется для определения ширины элемента управления.

Шрифт

Для полей элементов управления, содержащих видимый текст или заголовки, выберите требуемый шрифт отображения. Для открытия диалогового окна Шрифт, нажмите кнопку .... Выбранный шрифт используется в именах полей элементов управления и для отображения данных в полях элементов управления "Таблица".

Элементы списка

Please note the tips referring to the keyboard controls.

Предварительно определенный элемент списка по умолчанию вводится в поле со списком Выбор по умолчанию.

Значок примечания

Обратите внимание, что элементы списка, введенные здесь, включаются в форму, только если на вкладке Данные в поле Тип содержимого списка выбран параметр "Список значений".


Если элементы списка не требуется записывать в базу данных или передавать получателю веб-формы, за исключением заданных значений, которые не видны в форме, можно назначить элементы списка другим значениям в списке значений. Список значений определяется на вкладке Данные. В поле Тип содержимого списка выберите параметр "Список значений". Затем введите в поле Содержимое списка значения, которые необходимо назначить соответствующим элементам списка формы. Для правильного назначения важен порядок в списке значений.

Значок примечания

Для документов HTML элемент списка, введенный на вкладке Общие, соответствует тегу HTML <OPTION>; элемент, введенный на вкладке Данные в поле Содержимое списка, соответствует тегу <OPTION VALUE=...>.


Please support us!