Programming with Reflection
RemoveOnEvent method
Syntax object.RemoveOnEvent Event
Removes the specified on event definition(s). Events of this type are defined with the OnEvent method. Use EnableOnEvent to disable or enable an event without removing it from the list of events.
Event Argument type: Integer or Enumeration
Required
Specifies the on event number to remove. Use rcAllEvents to remove all defined on events.