ShowGraphic() limitations
- Last UpdatedJul 17, 2024
- 1 minute read
Scripts that include the ShowGraphic() method have the following limitations when used in OMI ViewApps accessed through the OMI web client:
-
Do not support Identity (only support is ShowSymbol using the graphic name as the identity).
-
Do not support the Name property.
-
Do not support the Owning Object property.
-
Do not support the ResizeWindow property.
-
Do not support the HasTitleBar property. Applications always show a title bar.
-
Do not support the HasCloseButton property. Screens always show a close button.
-
Do not support the WindowTitle property.
-
Do not support ScalePercentage property.
-
Center is the only supported value of the Position property.
-
Do not support using the same interface element to open several graphics.
Popup limitations
When ShowGraphic() produces a popup window, the following limitations are present:
Relative to Symbol:
-
The size of a popup window is always the same as the graphic's original default width and height with scaling at 100 percent.
-
If a graphic's original default size is larger than the screen, the popup window appears in full screen mode as well as relative to the desktop.
-
The popup window is always placed at the center of the screen.
Relative to Desktop:
The popup window is always shown in full screen mode.
Custom Width and Height:
The width and height of the popup window cannot be customized.