Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Operations Management Interface

Add an event-handler script to a layout from the Build tab

Add an event-handler script to a layout from the Build tab

  • Last UpdatedDec 06, 2024
  • 2 minute read

To add an event-handler script to a layout from the Build tab

  1. Select the pane that contains the app or control that you are scripting.

  2. Select Properties grid and scroll to the bottom of the properties list.

  3. If necessary, expand the Event Handlers section to show Available Events.

  4. To add a script to an event, click on Click to Add Event...

  5. The list of public public events and methods contained in the app or control is shown.

  6. Select the event name for which you want to add a script. After you select the event name, it is shown in bold type in the list, and listed below the Click to Add Event... option.

    Layout Editor Events Drop Down

  7. Switch to the Script tab. The new Event Handler script that you just added is listed alphabetically, by name of app and event, under Event Handler Scripts in the left column of the editor.

    The first line shows the name of the app, the second line shows the event, and the third line shows the number of lines in the script.

    Event Handler Script List

TitleResults for “How to create a CRG?”Also Available in