SET HANDLER handler1 handler2 ... [ACTIVATION act].
This statement registers the event handlers handler1 handler2 ... for the corresponding static events. An event handler is executed if the corresponding static event is triggered with RAISE EVENT. The ACTIVATION addition enables the dynamic registration or deregistration.
The list handler1 handler2 ... has the same form as for instance events, but can only contain event handlers for static events declared with CLASS EVENTS
The event that can be handled by an event handler for static events is already uniquely set by means
of its definition with the statement
[CLASS-]METHODS.
The FOR addition, which is required for registration
of instance event handlers to determine the triggering instances, must not specified upon registration.
Registration of an event handler for static events is independent of the instance and is valid globally for the current internal mode.
... ACTIVATION act
For the syntax and semantics of the ACTIVATION addition, the same applies as for SETHANDLER.