The consoleLib.activeForm system variable holds the form that was most recently displayed in the active window.
Type: ConsoleForm