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

AVEVA™ InTouch HMI

互換性のないGraphicInfoプロパティ

  • Last UpdatedOct 08, 2024
  • 1 minute read

ShowGraphic を互換性のない GraphicInfo プロパティの組み合わせで呼び出した場合、以下の警告メッセージがランタイム時に表示されます。

ShowGraphic<IdentityName>。<グラフ名>.<c0/>script:<Parameter1>、<Parameter2>]]で</Parameter2></Parameter1>使用される矛盾するパラメーター>

たとえば、以下のような互換性のないプロパティを使用すると、幅、高さとともに 0 となるウィンドウが生成されます。

graphicInfo.WindowRelativeCanonical=aaGraphic.WindowRelativeCanonical.WindowXY;

graphicInfo.RelativeTo = aaGraphic.RelativeTo.Desktop;

この例では、WindowXY の WindowRelativePosition が Desktop の RelativeTo サイズと互換性がありません。

以下の表に、互換性のないプロパティの組み合わせを示します。影つきセルは、[互換性のないプロパティ]列に指定されたものに加えて、互換性のない GraphicInfo プロパティを示します。

ウィンドウ相対位置

サイズ:
Relativeto

互換性のないプロパティ

注記

デスクトップ

グラフィック

XX

Y

高さ

デスクトップ

デスクトップ

XX

Y

高さ

デスクトップ

CustomizedWidthHeight(カスタマイズされた幅と高さ)

XX

Y

スケールのPercentage

ウィンドウ

グラフィック

XX

Y

高さ

ウィンドウ

デスクトップ

XX

Y

高さ

RelativeTo は Window であることが必要

ウィンドウ

CustomizedWidthHeight(カスタマイズされた幅と高さ)

XX

Y

スケールのPercentage

ClientArea

グラフィック

XX

Y

高さ

ClientArea

デスクトップ

XX

Y

高さ

RelativeTo は ClientArea であることが必要

ClientArea

CustomizedWidthHeight(カスタマイズされた幅と高さ)

XX

Y

スケールのPercentage

親グラフ

グラフィック

XX

Y

高さ

親グラフ

デスクトップ

XX

Y

高さ

RelativeTo は ParentGraphic であることが必要

親グラフ

CustomizedWidthHeight(カスタマイズされた幅と高さ)

XX

Y

スケールのPercentage

ParentElements(親エレメント)

グラフィック

XX

Y

高さ

ParentElements(親エレメント)

デスクトップ

XX

Y

高さ

ParentElements(親エレメント)

CustomizedWidthHeight(カスタマイズされた幅と高さ)

XX

Y

スケールのPercentage

Mouse(マウス)

グラフィック

XX

Y

高さ

HeightStretchWindow

ToScreenWidth

HeightStretchWindow

ToScreenWidth

Mouse(マウス)

デスクトップ

XX

Y

Height StretchWindow 

ToScreenWidth

HeightStretchWindow

ToScreenWidth

RelativeTo は Desktop であることが必要

Mouse(マウス)

CustomizedWidthHeight(カスタマイズされた幅と高さ)

XX

Y

Height StretchWindow 

ToScreenWidth

HeightStretchWindow

ToScreenWidth

DesktopXY

グラフィック

高さ

HeightStretchWindow

ToScreenWidth

HeightStretchWindow

ToScreenWidth

DesktopXY

デスクトップ

高さ

引き伸ばしウィンドウ

ToScreenWidth

引き伸ばしウィンドウ

画面の表示方法

競合する WindowRelative
Position と RelativeTo の組み合わせ

DesktopXY

CustomizedWidthHeight(カスタマイズされた幅と高さ)

スケールのPercentage

HeightStretchWindow

ToScreenWidth

HeightStretchWindow

ToScreenWidth

WindowXY

グラフィック

高さ

HeightStretchWindow

ToScreenWidth

HeightStretchWindow

ToScreenWidth

WindowXY

デスクトップ

高さ

HeightStretchWindow

ToScreenWidth

HeightStretchWindow

ToScreenWidth

競合する WindowRelative
Position と RelativeTo の組み合わせ

WindowXY

CustomizedWidthHeight(カスタマイズされた幅と高さ)

スケールのPercentage

HeightStretchWindow

ToScreenWidth

HeightStretchWindow

ToScreenWidth

ClientAreaXY

グラフィック

高さ

HeightStretchWindow

ToScreenWidth

HeightStretchWindow

ToScreenWidth

ClientAreaXY

デスクトップ

高さ

HeightStretchWindow

ToScreenWidth

HeightStretchWindow

ToScreenWidth

競合する WindowRelative
Position と RelativeTo の組み合わせ

ClientAreaXY

CustomizedWidthHeight(カスタマイズされた幅と高さ)

スケールのPercentage

HeightStretchWindow

ToScreenWidth

HeightStretchWindow

ToScreenWidth