To associate a macro with an event from a control, follow these steps.
要关联一个宏和控件的一个事件,请按照这些步骤操作。
The second parameter to the macro is the fully qualified name of the method that should be called when the menu event is triggered.
第二个参数是在触发菜单事件时调用的方法的全限定名。
The outline function is generated with the SSAX:make-parser macro, which allows the definition of several event types.
outline函数由 SSAX:make-parser宏生成。允许定义几种事件类型。
The event handling in Grails can be managed both at macro and micro levels.
我们可以在宏观以及微观层次处理Grails的事件。
Notice how the event is now associated with the macro from the library and the module.
注意现在事件是如何与库和模块中的宏关联的。
This event occurs whenever a macro's runtime is reset, such as when a macro is loaded or unloaded.
每当重置宏的运行时就发生此事件,如加载或卸载宏时。
This allows you, for example, to disable event handling code on only certain macro projects.
例如,这可让您只停用特定巨集专案的事件处理程式码。
This allows you to automatically re-initialize variables and event handlers whenever a macro runtime reset occurs.
这使您可以在每次宏运行时重置发生时自动重新初始化变量和事件处理程序。
This allows you to automatically re-initialize variables and event handlers whenever a macro runtime reset occurs.
这使您可以在每次宏运行时重置发生时自动重新初始化变量和事件处理程序。
应用推荐