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

AVEVA™ InTouch HMI

SetPropertyM() Function

  • Last UpdatedJul 25, 2024
  • 1 minute read

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

Syntax

result = SetPropertyM (controlname.property, message)

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

message

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

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 you can set the caption of the checkbox wizard dynamically with the following script function:

result=SetPropertyM("Checkbox1.caption","Start Engine 1");

This script sets the caption of the checkbox Checkbox1 to "Start Engine 1".

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