Computer Science Canada

multiple windows

Author:  RottenPunk [ Sun Feb 29, 2004 5:42 pm ]
Post subject:  multiple windows

hey, i'm trying to make two windows (one for inputs and one for outputs) and i know how to close the main window but i dont know how to get the second (or third,forth,etc.) window(s) open. what is the command? i know you have to put something like "Window.Open (window2) but im not sure of the exact command. can anyone help?

Author:  shorthair [ Sun Feb 29, 2004 5:52 pm ]
Post subject: 

use this command to open the window

The Variable WINID Is what hte window name is , this is how you deifne hte windows name , so if you want to output to a window , you call its name and it becomes your active window

code:
% Open the window
        var winID : int
        winID := Window.Open ("position:top;center,graphics:200;200")
       
               
        Window.Close (winID)                % Close the window


: