Behavior of ShowGraphic windows with the same identity
- Last UpdatedJul 08, 2024
- 1 minute read
ShowGraphic pop-up windows attempting to open a pop-up window with the same Identity exhibit the following behavior with the predefined scripts OnHide, OnShow, and WhileShowing:
-
A ShowGraphic function within an OnShow script will be blocked if a ShowGraphic pop-up window with the same Identity is already displayed.
-
A ShowGraphic function within an WhileShowing script will be blocked if a ShowGraphic pop-up window with the same Identity is already displayed.
-
A ShowGraphic function within an OnHide script will be blocked if a ShowGraphic pop-up window with the same Identity is already displayed.
No error or warning messages will appear in the logger when script execution is blocked as described.
With the Graphic Cache memory option enabled, calling ShowGraphic pop-up windows with same identity name, if the graphic is modal to the modal graphic behind it, calling the ShowGraphic function cannot change this graphic to be modeless to the current modal graphic. For more information, see Modal windows and the ShowGraphic() function.