3. Statements : OpenROAD Language Statements : On Statement : Parameters—On Statement
 
Share this page                  
Parameters—On Statement
This statement has the following parameters:
eventtype
Specifies an event type. The type depends on the object being used.
eventname
Specifies a user event name, database event name, or external class event, depending on whether you use the on userevent, the on dbevent, or the on extclassevent statement. In any case, eventname is optional. If used, the event name can be any string of up to 32 characters, surrounded by single quotes.
fieldname
Specifies the name of the field or menu item that triggers the event. This name is the name that you gave the field or menu item when you created it in OpenROAD Workbench. Use this parameter with all event types, except database events and user events.
parameterlist
See NamedParameterListDefinition (see NamedParameterListDefinition). Defines parameters for the event. You can specify them as parameters on a SendUserEvent method invocation (see GhostExec (see SendUserEvent Method)) or provide them through the external event (for an ExtClassEvent). The data type of the parameter can be any simple data type, a system class, or user class.
declareblock
See DeclareBlock (see BeginEndBlock).
beginendblock
See BeginEndBlock (see BeginEndBlock).