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

AVEVA™ InTouch HMI

ShowAt() Function

  • Last UpdatedFeb 21, 2017
  • 1 minute read

Opens an InTouch window at a specified position. It also can move an already open InTouch window to a specified position. The position is the center point of the window.

Note: The window will not be centered if one of its edges is off-screen.

Syntax

ShowAt (windowname, xpos, ypos)

Parameters

windowname

The name of the window to be opened or moved.

xpos

The horizontal position in pixels that the window center is to be moved to. A literal value, analog tagname, or numeric expression.

ypos

The vertical position in pixels that the window center is to be moved to. A literal value, analog tagname, or numeric expression.

Example(s)

This script opens the window Main so that it is centered at the position x:450, y:130.

ShowAt("Main",450,130);

This script opens the window called UserDialog and positions it, so that its center is over the center position of the object that called this function (for example a button).

ShowAt("UserDialog",$ObjHor,$ObjVer);

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