UnRegisterUserEvent Method
The UnRegisterUserEvent method removes one or all external events from the list of registered events for a frame. The syntax follows:
FrameExec_var.UnRegisterUserEvent(eventname =
varchar(32))
To specify the frame, you must reference the FrameExec variable for the running instance of the frame. For more information about how to reference the FrameExec variable, see
SendUserEvent Method (see
SendUserEvent Method).
eventname
Specifies the name of the user event. If you do not specify the event name, all registered events for the frame are removed from the list. This parameter is case sensitive.
The following example illustrates this:
CurFrame.UnRegisterUserEvent(eventname =
'external_update');