ShowScreen(s$)
s$
to
the front. If you want to move your display to a specific public screen,
use SetDisplayAttributes() with the PubScreen
tag.
Note that in a multitasking environment like AmigaOS, all screens that aren't owned by your application can disappear at any time so you need to be prepared that this function fails because the screen doesn't exist any longer.
ShowScreen("WORKBENCH")This code brings Workbench screen back to the front.