enableEvent

enableEvent(mth:     Method;
            enabled: Boolean);

The enableEvent method of the JadeDotNetType class enables you to control whether JADE logic associated with an event for a component is executed at run time.

Use the mth parameter to specify the name of the event that is to be disabled.

Set the enable parameter to false if you want to disable the event specified in the name parameter. All events are enabled by default.

An exception is raised if the event name specified in the mth parameter is not valid.

Enabling or disabling an event has no impact if there is no logic associated with that event.

Event methods can be enabled or disabled in both standard client mode and in thin client mode.