Language Reference Guide : 4. System Classes : GhostExec Class : RegisterUserEvent Method
 
Share this page                  
RegisterUserEvent Method
The RegisterUserEvent method registers a frame to receive a specified user event from an external application. External programs, including other OpenROAD applications, can send user events to an OpenROAD application. To receive these events, one or more frames in the application must have registered to receive the user event. The RegisterUserEvent method performs this task.
This method has the following syntax:
GhostExec.RegisterUserEvent(eventname = varchar(32))
This method has the following parameter:
eventname
Specifies the name of the user event to register. EventName is case-sensitive.
External programs, including other OpenROAD applications, can send user events to an OpenROAD application. To receive these events, one or more frames in the application must have registered to receive the user event. The RegisterUserEvent method performs this task.
For more information about registering user events, see the Programming Guide.