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

AVEVA™ InTouch HMI

​.ReadOnly 点域

  • Last UpdatedFeb 05, 2018
  • 1 minute read

确定文本框的内容是只读还是可读写的。

类别

Windows 控件

用法

[ErrorNumber=]GetPropertyD("ControlName.ReadOnly", Tagname);

参数

ControlName

Windows 控件的名称。例如,Textbox_1。

Tagname

离散标记名,处理函数时用于存放属性值。

0 = 文本框的内容为可读写

1 = 文本框的内容为只读

附注

此属性在开发与运行时都可用。

数据类型

离散(只读)

适用范围

文本框。

示例

以下语句检索“TextBox_1”文本框的只读状态:

GetPropertyD("TextBox_1.ReadOnly",A_Tagname);

另请参阅

GetPropertyD(), SetPropertyD()

In This Topic