12. Inter-Frame Communication Techniques : How You Can Communicate with an External Program Using External User Events : How You Can Register the External Event : UnRegisterUserEvent Method
 
Share this page                  
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');