Events

为程序事件指定宏。每当选中的事件发生时,就自动执行指定的宏。

要访问此命令...

Choose Tools - Customize - Events tab.


保存于

首先在当前文档或 LibreOffice 中选择要保存事件绑定的位置。

note

由于文档与宏一起保存,因此仅当文档处于打开状态时,才能执行宏。


大列表框列出事件及指定的宏。在「保存于」列表框中选择位置之后,在大列表框中选择事件。然后点击「指定宏」。

指定宏

Opens the Macro Selector to assign a macro to the selected event.

Assign Component...

Opens the Assign Component dialog to set a custom UNO command for the selected event.

note

Component assignment is proposed for controls in the Dialog Editor.


删除宏

Deletes the macro or component assignment for the selected event.

请支持我们!