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

Username:   Password: 
 RegisterRegister   
 how do you make a window close?
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
chibitenshi_03




PostPosted: Tue Jan 06, 2004 8:27 pm   Post subject: how do you make a window close?

I want an user to input a number then the window will automatically close but i don't know how to do that.
This is all i have:

window := Window.Open ("position:top;center,graphics:300;200")
put "How thick do you want the line to be?"
get thickness

How do i continue? Confused
Sponsor
Sponsor
Sponsor
sponsor
Mazer




PostPosted: Tue Jan 06, 2004 8:31 pm   Post subject: (No subject)

first, it should be
code:

[b]var[/b] window := Window.Open ("position:top;center,graphics:300;200")

in case you didn't know. and too close it you do this:
code:

Window.Close (window)
%and just to be safe...
return
chibitenshi_03




PostPosted: Tue Jan 06, 2004 9:36 pm   Post subject: (No subject)

hehehe...oh yeah...thanks Razz
shorthair




PostPosted: Wed Jan 07, 2004 12:04 pm   Post subject: (No subject)

Mazer when i close hte window i often error out , is the return what stopts that , or what is that for Very Happy
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  [ 4 Posts ]
Jump to:   


Style:  
Search: