The consoleLib.openWindowWithForm() system function creates a window, makes it visible, adds it to the top of the window stack, and displays the form in the window. The window is re-sized to fit the form.
consoleLib.openWindowWithForm(
window Window in,
form ConsoleForm in)