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

AVEVA™ InTouch HMI

GetPropertyM() Function

  • Last UpdatedJul 25, 2024
  • 1 minute read

Reads a message property in a wizard and returns a success code.

Syntax

result = GetPropertyM (controlname.property, mtag)

Parameters

controlname

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

property

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

mtag

The message tagname that will receive the message 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 checkbox wizard Checkbox1 and a message tagname mtag you can check the caption of the checkbox with the following script function:

result=GetPropertyM("Checkbox1.caption",mtag);

This script sets mtag to the caption of the checkbox.

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