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

AVEVA™ InTouch HMI

GetPropertyM() 函数

  • Last UpdatedSep 24, 2024
  • 1 minute read

读取向导中的消息属性并返回成功码。

语法

result = GetPropertyM (controlname.property, mtag)

参数

controlname

支持属性的向导的名称。字符串值、消息标记名或字符串表达式。

property

向导中要读取的消息属性。与 controlname 合起来,可以是字符串值、消息标记名或字符串表达式。

mtag

将接收消息属性值的消息标记名。

返回值

整型错误码。如需有关错误码的详细信息,请参阅理解 Windows 控件错误消息

示例

通过复选框向导 Checkbox1 与消息标记名 mtag,可以使用以下脚本函数来检查复选框的标题:

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

此脚本将 mtag 设为复选框的标题。

In This Topic