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

AVEVA™ InTouch HMI

SetPropertyI() Function

  • Last UpdatedNov 05, 2021
  • 1 minute read

Sets an integer property in a wizard and returns a success code.

Syntax

result = SetPropertyI (controlname.property, integer)

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 set. Together with controlname can be a literal string value, message tagname, or string expression.

integer

The integer value to pass to the wizard property. A literal integer value, integer tagname, or integer expression.

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 you can set the 2nd radio button with the following script function:

result=SetPropertyI("Radiobutton1.value",2);

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