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

AVEVA™ InTouch HMI

Window definition

  • Last UpdatedJul 26, 2024
  • 1 minute read

You can use the following elements to specify a window.

Elements

Description

Title

Window name as non-empty string. Maximum of 32 characters and trailing spaces are not counted. Required.

Comment

Comment text. Maximum of 59 characters.

Dimension

Required when using the optional schema. When the schema is not used, a default dimension is applied if a dimension element is not included. The default values are 4 4 632 278.

WindowStyle

Window Type = {Replace | Overlay| Popup}.

BackgroundColor

Window background color specified by a color element: RGB element, name element, reference element, or value element.

FrameStyle

{Single | Double | None}.

TitleBar

Title bar enabled = {true | false}.

CloseButton

Close window button enabled = {true | false}

Can be enabled only when title bar is enabled.

SizeControls

Size controls enabled = {true | false}.

ScriptOnShow

Script element.

ScriptWhileShowing

Script element.

ScriptOnHide

Script element.

ObjectList

Objects contained by the window, including SmartSymbols.

This example creates an empty window:

<?xml version="1.0" encoding="UTF-8"?>

<iw:InTouchWindow

xmlns:iw="http://www.wonderware.com/InTouch/Window"

xmlns:itc="http://www.wonderware.com/InTouch/Common"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

xsi:schemaLocation="http://www.wonderware.com/InTouch/Window

wwInTouchWindow.xsd" Version="1">

<Title>ApplicationSecondWindow</Title>

<Comment>Main application window</Comment>

<Dimension>

<Left>4</Left>

<Top>4</Top>

<Width>632</Width>

<Height>278</Height>

</Dimension>

<BackgroundColor>

<R>192</R>

<G>192</G>

<B>192</B>

</BackgroundColor>

<WindowStyle>Overlay</WindowStyle>

<FrameStyle>Single</FrameStyle>

<TitleBar>true</TitleBar>

<CloseButton>True</CloseButton>

<SizeControls>true</SizeControls>

</iw:InTouchWindow>

Minimal example:

<iw:InTouchWindow

xmlns:iw="http://www.wonderware.com/InTouch/Window"

xmlns:itc="http://www.wonderware.com/InTouch/Common"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

xsi:schemaLocation="http://www.wonderware.com/InTouch/Window

wwInTouchWindow.xsd" Version="1">

<Title>ApplicationSecondWindow</Title>

<Dimension><Left>4</Left><Top>4</Top>

<Width>632</Width>

<Height>278</Height></Dimension>

</iw:InTouchWindow>

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