Raised events are events in masters that you "raise" up out of the master to be accessible at the page level. This allows you to configure actions under the event that target widgets outside the master. It also allows you to configure different actions under the event for each instance of the master.引发事件是母版中的事件,你可以将其“提升”到母版中以便在页面级别进行访问。 这样,你可以为母版之外的目标部件在事件下配置操作。 它还允许你在事件下为每个母版实例配置不同的操作。
Raising an Event引发事件
Open a master on the canvas.在画布上打开一个母版。
Select a widget in the master whose event you want to raise. You can also click a blank spot on the canvas to work with the master's own page events.在母版中选择一个要引发其事件的窗口部件。 你也可以单击画布上的空白点来处理母版自己的页面事件。
|
Using a Raised Event使用引发事件
Once you've created a raised event in a master, each instance of that master will have its own version of the raised event that you can configure at the page-level. Select an instance of a master and click New Interaction in the Interactions pane to access its raised events.一旦你在母版中创建引发事件,该母版的每个实例将具有自己的引发事件版本,这些事件你可以在页面级对其进行配置。 选择一个母版实例,然后在“交互”窗格中单击“新建交互”以访问其引发的事件。 |