Programming with Reflection
EnableOnEvent method
Syntax object.EnableOnEvent OnEventNumber, EnableOrDisable
Enables or disables specified event commands.
OnEventNumber Argument type: Integer or Enumeration
Required
Specifies the event number to enable or disable. Use rcAllEvents to enable or disable all defined events.
EnableOrDisable Argument type: Enumeration
Required
Determines whether the specified events are enabled or disabled:
rcEnable
Enables the specified event(s).
rcDisable
Disables the specified event(s).