Computer Science Canada

Window Doesn't Close?

Author:  Gackt [ 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.

Author:  Gackt [ Tue Jun 03, 2008 7:32 pm ]
Post subject:  RE:Window Doesn\'t Close?

Ughh... Well Any Help.

Author:  gitoxa [ 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.

Author:  andrew. [ 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?


: