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

AVEVA™ InTouch HMI

Use methods in Industrial Graphic scripts

  • Last UpdatedMar 18, 2025
  • 1 minute read

Some elements support script methods. These methods can perform various functions on the elements themselves at run time. Typically, you configure an action script to access these methods.

You can see the supported properties and methods of any element by opening the Galaxy Browser and selecting the element.

Galaxy browser displaying supported properties and methods of element

  • You can run a script containing an Edit Box control method to load text from a file to the control during run time. You can also run a script to save the current contents of the Edit Box control to a file during run time.

  • Edit Box control methods are declared in scripts in the following form:

    ControlName.SaveText(FileName);

    where ControlName is the name of the Edit box control and FileName is the name of the file containing the contents of the control to be loaded or saved. In the example above, SaveText is the name of the method to save the contents of the Edit Box control to a file.

  • You can use a script containing the methods of the Combo Box and List Box controls to change the contents of their lists during run time. List items can be added, deleted, or modified.

  • Combo Box and List Box control methods are declared in scripts similar to the Edit Box control.

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