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

Industrial Graphic Editor

Show/Hide Graphic script functions

  • Last UpdatedJul 08, 2024
  • 1 minute read

The Show/Hide Graphic script functions enable you to write Industrial Graphics scripts to display a graphic as a pop-up window and close the pop-up window.

The Show/Hide Graphics script functions are in addition to the Show/Hide Symbol animation feature, which enables you to display a graphic as a pop-up window through graphic animation. The Show/Hide Symbol animation feature remains unchanged. You can use Show/Hide Symbol animation and the Show/Hide Graphic script functions together. For more information, see Runtime behavior of the Show/Hide Graphic functions.

Like the Show/Hide Symbol animation feature, you can control the properties of the graphic through the Show Graphic feature. You can configure the script to specify:

  • Which graphic will appear as the pop-up window.

  • Whether the window will have a title bar.

  • The initial position of the pop-up window.

  • Whether the window can be resized.

  • Whether the window will be modal or modeless.

  • The relative position of the pop-up window.

  • Passing the owning object to the graphic that you want to display.

  • Values of the custom properties of the graphic.

You can use the HideSelf script function for Industrial Graphics to close the displayed graphic from within the graphic's own script.

You can use the HideGraphic() script function to close any displayed graphic given its Identity.

The ShowGraphic(), HideGraphic(), and HideSelf() functions are available in managed or published HMI applications only, if supported by your HMI.

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