12. Inter-Frame Communication Techniques : How You Can Communicate with an External Program Using External User Events : How You Can Send the External User Event to OpenROAD
 
Share this page                  
How You Can Send the External User Event to OpenROAD
To send the event from the external program to OpenROAD, you must write a 3GL program that sends the named event to OpenROAD.
This program sends the event to any running OpenROAD frames. If an OpenROAD frame has registered for that event, the associated event block is triggered. If none of the events are registered or if none of the registered frames are running, the request is ignored.
OpenROAD provides the IIW4GL_SendUserEvent procedure to send the event name and optional integer value. This procedure is described in the IIW4GL_SendUserEvent Procedure (see IIW4GL_SendUserEvent Procedure).