window.show

Syntax window.show (title)

Params title is the name of an open window you want to be sure is visible.

Action Shows the window if it was hidden; has no effect otherwise.

Returns True if the window is open and was made visible, false otherwise.

Examples With the examples window open, type and execute:
window.hide ("examples");

clock.waitSeconds (3); « So you can see the effect

window.show ("examples")


   » true

The window "flashes" as it is hidden and then shown again.

With the examples window open and all of its contained objects' windows closed, type and execute:
window.show (@examples.picture)


   » false

The window wasn't open, therefore could not be hidden or shown. The verb, therefore, returns false.

See Also window.hide

window.isHidden

Discuss