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

AVEVA™ InTouch HMI

按钮对象

  • Last UpdatedSep 24, 2024
  • 1 minute read

可以为按钮对象指定以下元素。

元素

描述

标题

按钮对象名。可选。

TextString

显示的标题。缺省字符串为“Text”。

TextInfo

定义标题的显示方式。

动画链接

可选的动画链接列表。不允许线条颜色、填充颜色、文本颜色、填充百分比、相对方向动画链接。

维数

对象的位置和大小。元素为 top、left、width、height。top、left、width 和 height 值以像素为单位。生成的坐标必须在 -32000 到 +32000 之间。width 和 height 都不能为 0。必需。

如果为 Dimension 元素指定了无效的值或该元素缺少值,则不会创建对象。

示例:

Button>

<Title>button1</Title>

<TextInfo>

<Font>Arial</Font>

<FontStyle>Regular</FontStyle>

<FontSize>12</FontSize>

<Underline>false</Underline>

<Strikeout>false</Strikeout>

<TextColor>

<R>0</R>

<G>0</G>

<B>0</B>

</TextColor>

<TextJustify>Left</TextJustify>

</TextInfo>

<Dimension>

<Left>100</Left><Top>50</Top>

<Width>270</Width><Height>80</Height>

</Dimension>

<TextString>Stop All Robots</TextString>

<AnimationLinks>

</AnimationLinks>

</Button>

最简示例:

<Button>

<Dimension>

<Left>100</Left><Top>50</Top>

<Width>270</Width><Height>80</Height>

</Dimension>

</Button>

Related Links