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

AVEVA™ InTouch HMI

GetPropertyI() Function

  • Last UpdatedNov 05, 2021
  • 1 minute read

Reads an integer in a wizard and returns a success code.

Syntax

result = GetPropertyI (controlname.property, itag)

Parameters

controlname

The name of a wizard that supports properties. A literal string value, message tagname, or string expression.

property

The integer property of the wizard that is to be read. Together with controlname can be a literal string value, message tagname, or string expression.

itag

The integer tagname that will receive the integer property value.

Return Value

An integer error code. For more information about the error codes, see Understand windows controls error messages.

Example(s)

With a radio button wizard Radiobutton1 and an integer tagname itag you can check the currently selected item in the radio button group with the following script function:

result=GetPropertyI("Radiobutton1.value",itag);

This script sets itag to 1 (2, 3, ...) , if the first (second, third, ...) radio button is selected.

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