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

AVEVA™ InTouch HMI

ShowTopLeftAt() 函数

  • Last UpdatedFeb 05, 2018
  • 1 minute read

在指定的位置上打开 InTouch 窗口。也可用于移动打开的窗口。

语法

ShowTopLeftAt (windowname, xpos, ypos)

参数

要打开或移动的窗口的名称。

xpos

窗口左侧边缘要移到的水平位置,以像素计。值、模拟标记名或数值表达式。

ypos

窗口顶部边缘要移到的垂直位置,以像素计。值、模拟标记名或数值表达式。

示例

此脚本打开 Main 窗口,并将它的左上角放到 (x:450,y:130) 位置。

ShowTopLeftAt("Main",450,130);

In This Topic