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

AVEVA™ InTouch HMI

Use the ShowGraphic() function with frame windows

  • Last UpdatedFeb 24, 2026
  • 1 minute read

You can run the ShowGraphic() script function to change the symbol associated with a frame window at run time. Specify the frame window name and associated symbol as in the following example:

Dim graphicInfo as aaGraphic.GraphicInfo;

graphicInfo.Identity = "InTouch:FrameWindow01";

graphicInfo.GraphicName = "Symbol_002";

ShowGraphic( graphicInfo );

"Symbol_002" will display in "FrameWindow01" at run time regardless of the frame window’s design time configuration. You can use a ShowGraphic script to host different symbols in the same window.

Note: For versions below InTouch HMI 2020 R2 SP1 P01, noticeable position changes occur only when the Y value exceeds 200. If the Y value is below 200, there is either no change or only a minimal shift in the graphic’s position, which is difficult to observe and validate. For versions above InTouch HMI 2023, noticeable position changes occur only when the Y value exceeds 300. If the Y value is below 300, there is either no change or only a very slight shift in the graphic’s position, making it difficult to observe and validate.

Limitation:

Graphic caching occurs only for the symbol currently shown in the frame window at the time the window is closed and cached. Replaced symbols will not be cached.