If the global scope requires the result of the event handler, set the result in the global result variable.
如果全局范围要求使用事件处理程序的结果,请在全局结果变量中设置该结果。
The event handler starts a new server and configures it by executing a sequence of commands on it.
这个事件处理函数启动一个新的服务器,通过在它上面执行一系列命令来配置它。
Notice that the first script in the figure is not placed in an event handler method.
注意,图中的第一个脚本并不放置在一个事件处理程序方法中。
After the loop define a receive activity that waits until it is invoked by the last event handler.
在循环之后,定义接收活动,该活动将等待最后一个事件处理程序实例调用。
If more events occur before the event handler returns, browsers enqueue them until the event handler does return, and then process the queued events in order, one at a time, synchronously.
如果在事件处理器返回之前发生了更多的事件,浏览器就将它们放在队列中;当事件处理器返回时,依次同步地处理排队的事件,每次一个。
This might include the event hooks, the event handler, the error methods, and the timer methods.
这可能包括事件关联函数、事件处理函数、错误方法和计时器方法。
This article described how to design processes to implement the cancellation function with the event handler.
本文描述如何设计使用事件处理程序来实现取消操作的流程。
This invoke activity calls the event handler.
此调用活动将调用事件处理程序。
The variables VEH and VNS have one instance for each event handler instance that is started.
对于已启动的每个事件处理程序实例,只能具有一个VEH和VNS变量的实例。
A private copy of all process data and control behavior defined within an event handler is provided to each instance of an event handler.
将为事件处理程序的每个实例提供该事件处理程序内定义的所有进程数据和控制行为的私有副本。
By doing so, the loop in the main scope and logic in the event handler controls the final number of event handler instances.
这样,主范围内的循环和事件处理程序中的逻辑就可以控制事件处理程序的最终数目。
The event handler for components normally executes in the invoke application phase.
组件的事件处理程序通常都是在调用程序阶段执行的。
Part 2: What actions does the event handler have to take?
第2部分:事件处理程序必须进行何种操作?
We'll see below that it is useful to define a scope as a direct child of an event handler in order to have scoped variables that are local to the event handler instance.
我们将在下面了解到,为了获得事件处理程序实例的已确定范围的局部变量,可以将活动的范围定义为事件处理程序的直接子项。
These restrictions must be considered carefully when an event handler is defined.
在定义事件处理程序时,必须仔细考虑这些限制。
Simply put, a filter is a SAX event handler that passes the events it receives to another event handler.
简单地说,过滤器是将接收到的事件传送给另一个事件处理程序的SAX事件处理程序。
The event handler contains a scope.
事件处理程序包含一个范围。
Optionally, you can use an event handler to modify the task role variables at runtime.
您可以选择性地使用一个事件处理程序来在运行时修改任务角色变量。
Listing 3 shows the code snippet getting the event handler by a process instance ID.
清单3显示的代码片段根据流程实例ID获取事件处理程序。
Without local variables, all event handler instances would work on the same global variable instances.
如果没有局部变量,所有事件处理程序实例都将在相同的全局变量实例上工作。
Control passes immediately to the event handler and doesn't return until it's done executing.
控制立即传到事件处理器,并且不会返回,除非处理完成。
You can create an event handler by using the Events TAB of the Properties window.
在属性窗体创建事件处理代码的方法是点击事件标签。
If a review is finished, the event handler decrements this variable.
如果审阅完成,事件处理程序会对此变量进行递减。
The evaluation response is then returned to the custom event handler for further actions.
然后评估响应会返回给定制的事件处理器以便执行更进一步处理。
Nearly all components must deal with events, either as an event publisher or as an event handler.
几乎所有组件都必须处理事件,要么作为事件的发布者,要么作为事件的处理者。
This is analogous to the event handler built into GUI systems.
这类似于内置在GUI系统的事件处理程序。
Let's assume that an instance of the event handler detects that an additional instance of the same event handler has to be started.
让我们假定事件处理程序的实例检测到必须启动相同事件处理程序的其他实例。
The variable VEH that is defined implicitly in the event handler is seen by all activities inside the event handler and scopes nested inside the event handler.
在事件程序中隐式定义的变量VEH 对事件处理程序和事件处理程序内嵌套的范围内的所有活动可见。
Part 1 defines the conditions under which an event handler is to be invoked; that is, it defines the type of the event handler.
第1部分定义要调用的事件处理程序的条件;即,它定义事件处理程序的类型。
Listing 6 shows this event handler.
清单6展示了该事件处理程序。
应用推荐