Computer Science Canada Omg buttons and windows pls help window 1 closed error but window 1 cannot be closed? what |
Author: | Sceyef [ Fri Dec 12, 2014 11:09 am ] | ||
Post subject: | Omg buttons and windows pls help window 1 closed error but window 1 cannot be closed? what | ||
What is it you are trying to achieve? Fix an error with windows What is the problem you are having? Error message: Window with ID of 1 is closed. Describe what you have tried to solve this problem idk Post any relevant code (You may choose to attach the file instead of posting the code if it is too long)
Please specify what version of Turing you are using The latest one. |
Author: | Zren [ Sat Dec 13, 2014 12:06 am ] |
Post subject: | RE:Omg buttons and windows pls help window 1 closed error but window 1 cannot be closed? what |
Which line is causing the error? |
Author: | Sceyef [ Sun Dec 14, 2014 12:33 pm ] |
Post subject: | RE:Omg buttons and windows pls help window 1 closed error but window 1 cannot be closed? what |
When the error appears, it opens up WidgetModule.tu So It gives the error message in THAT thing. I screwed up something with GUI i think heres a screenshot of error http://prntscr.com/5gs12p HELPFAST |
Author: | Dreadnought [ Sun Dec 14, 2014 2:55 pm ] |
Post subject: | Re: Omg buttons and windows pls help window 1 closed error but window 1 cannot be closed? what |
The GUI module keeps track of all the windows in which there are widgets. If you close one of these windows without telling the GUI module it will still try to check for events from these widgets (even if there aren't any widgets in that window). To signal to the GUI module that a window is being closed use Gui.CloseWindow instead of Window.Close. |
Author: | Sceyef [ Fri Dec 19, 2014 7:14 pm ] |
Post subject: | RE:Omg buttons and windows pls help window 1 closed error but window 1 cannot be closed? what |
...Oh. wow im bad at this damn |