Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 multiple windows
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
RottenPunk




PostPosted: 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?
Sponsor
Sponsor
Sponsor
sponsor
shorthair




PostPosted: Sun Feb 29, 2004 5:52 pm   Post subject: (No 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
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 2 Posts ]
Jump to:   


Style:  
Search: