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

AVEVA™ Operations Management Interface

Layout event handler scripts

  • Last UpdatedJul 16, 2024
  • 1 minute read

The Layout Editor lets you add event-handler scripts to a layout if you have already added an app or control to a pane within the layout that contains public events. There are two ways to add an event-handler script after dropping an app or control onto a pane:

  • From the Build tab

  • From the Script tab

When you add an event-handler script, triggered by a specific event that occurs in the selected app, the script is added to the scripts that are listed under "Event Handler Scripts "on the Script tab of the Layout Editor. You can then select and configure the script in the script editor.

Note: Event-handler scripts, unlike named and built-in scripts, do not require the use of the MyContent namespace when scripting content properties and methods. To script a property or method, start by entering the name of the control instead of "MyContent." The autocomplete function will allow you to see the properties and methods of the control as you type. However, apps based on Windows Presentation Foundation (WPF) or .NET Controls may not provide the related event parameters in autocomplete. See Layout event handler parameters for more information.

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