更多控件

点击窗体控件工具栏上的「更多控件」图标时,将打开「更多控件」工具栏。

数值调节钮

图标

创建数值调节按钮。

如果在 Calc 电子表格中添加了数值调节钮,则可以使用「数据」选项卡页面在数值调节钮和单元格之间创建双向链接。因此,修改单元格的内容时,数值调节钮的内容也会更新。相反地,如果修改数值调节钮的值,单元格的内容也会更新。

滚动条

图标

创建滚动条。

您可以指定滚动条的以下属性:

UI 名称

语法

最小滚动值

指定滚动条的最小高度或最小宽度。

最大滚动值

指定滚动条的最大高度或最大宽度。

默认滚动值

指定滚动条的默认值,重设窗体时使用该值。

方向

指定滚动条的方向,即水平或垂直。

小变化

指定滚动条上滚动的最小值,例如,点击箭头。

大变化

指定滚动条上滚动一大步的数量,例如,在滚动条滑块与箭头之间点击。

延迟

指定滚动条触发事件间延迟的毫秒数。例如,点击滚动条上的箭头按钮与按住鼠标按钮时发生的延迟。

符号颜色

指定滚动条上的箭头颜色。

可见的大小

Specifies the size of the scrollbar thumb in "value units". For example, a value of ("Scroll value max." minus "Scroll value min.") / 2 results in a scrollbar thumb that occupies half of the scrollbar.

To make the width of the scrollbar equal to the height of the scrollbar, set the Visible Size to zero.


In a Calc spreadsheet, you can use the Data tab page to create a two-way link between a scrollbar and a cell.

图像按钮

图标

创建显示为图像的按钮。除了用图形表示以外,图像按钮与「普通」按钮具有相同的属性。

图片控制

图标

创建一个图像控件。它可用于从数据库添加图像。在窗体文档中,双击其中一个控件可打开插入图形对话框,以插入图像。还有一个右键菜单(不是在设计模式下),其中带有用于插入和删除图像的命令。

可以在窗体中显示数据库中的图像,而且只要没有将图像控件设置为写保护,还可以将新图像插入到数据库中。由于该控件必须链接到某个图像类型的数据库字段,因此,请在属性窗口中的「数据」选项卡页面上输入数据字段。

日期字段

图标

创建一个日期字段。如果将窗体链接到数据库,则可以采用数据库中的日期值。

If you assign the "Dropdown" property to the date field, the user can open a calendar to select a date under the date field. This also applies to a date field within a Table Control field.

提示图标

编辑日期字段非常容易,用户仅需要通过向上箭头键或向下箭头键,就可以增加或减少光标所在的日、月或年的值。


日期字段的特别提示

时间字段

图标

创建一个时间字段。如果将窗体链接到数据库,则可以从数据库中选用窗体的时间值。

提示图标

编辑时间字段非常容易,用户仅需要通过向上箭头键或向下箭头键,就可以增加或减少光标所在的小时、分钟或秒钟的值。


选择文件

图标

创建一个用于选择文件的按钮。

数字字段

图标

创建一个数字字段。如果将窗体链接到数据库,则可以从数据库选用窗体中的数值。

货币字段

图标

创建一个货币字段。如果将窗体链接到数据库,则可以在窗体中应用数据库中的货币字段内容。

掩码字段

图标

创建一个掩码字段。掩码字段由编辑掩码和字符掩码组成。编辑掩码用于确定可以输入的数据,字符掩码用于确定加载窗体时掩码字段的内容。

批注图标

请注意: 在 HTML 格式中不考虑掩码字段。


组合框

图标

Creates a frame to visually group several controls. Group boxes allow you to group option buttons in a frame.

If you insert a group frame into the document, the Group Element Wizard starts, which allows you to easily create an option group.

Note: When you drag a group box over already existing controls and then want to select a control, you have to first open the context menu of the group box and choose Arrange - Send to Back. Then select the control while pressing .

批注图标

Group boxes are used only for a visual effect. A functional grouping of option fields can be made through the name definition: under the Name properties of all option fields, enter the same name in order to group them.


表格控制

图标

Creates a table control to display a database table. If you create a new table control, the Table Element Wizard appears.

有关表格控件的特殊信息

导航栏

图标

Creates a Navigation bar.

The Navigation bar allows you to move through the records of a database or a database form. The controls on this Navigation bar work the same way as the controls on the default Navigation bar in LibreOffice.