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

Username:   Password: 
 RegisterRegister   
 Window Doesn't Close?
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Gackt




PostPosted: Sat May 31, 2008 10:04 am   Post subject: Window Doesn't Close?

Alright. So, when the user clicks on Exit the window is soposed to close or exit. But... It doesn't. It just goes back to the start of the loop. Is it the wrong command or what?

Appreciate the help.



Game.zip
 Description:

Download
 Filename:  Game.zip
 Filesize:  26.06 KB
 Downloaded:  55 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
Gackt




PostPosted: Tue Jun 03, 2008 7:32 pm   Post subject: RE:Window Doesn\'t Close?

Ughh... Well Any Help.
gitoxa




PostPosted: Tue Jun 03, 2008 7:52 pm   Post subject: RE:Window Doesn\'t Close?

code:
if ButtonX > 225 and ButtonX < 290 and ButtonY > 220 and ButtonY < 190 then


code:
elsif ButtonX > 225 and ButtonX < 290 and ButtonY > 170 and ButtonY < 140 then


The problem is in both of those. Look over them carefully.
andrew.




PostPosted: Tue Jun 03, 2008 9:43 pm   Post subject: RE:Window Doesn\'t Close?

Your Y values intersect. It's supposed to be greater than 220, but how can it when it has to be less than 190?
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: