Computer Science Canada clear screen no working |
Author: | bvbjules13 [ Sat Dec 15, 2012 11:24 pm ] | ||
Post subject: | clear screen no working | ||
What is it you are trying to achieve? clearing the screen What is the problem you are having? when i clear the screen the buttons i created wont go away not does the animation; i just get a frozen animation; im clearing the screen in the procedure corresponding with the button push; when i push the button everything clears but the button and then if i click the button again it goes away Post any relevant code (You may choose to attach the file instead of posting the code if it is too long) <Answer Here>
Please specify what version of Turing you are using 4.1 |
Author: | Insectoid [ Sun Dec 16, 2012 10:14 am ] | ||
Post subject: | RE:clear screen no working | ||
You can't clear buttons with cls. You need to manually delete them with GUI.dispose or make them invisible with GUI.hide. Also, you're creating buttons in a loop. That's going to make it run very slowly.
What is the point of this loop? It doesn't do anything. 'Snow' should not be a process. It should be a procedure. |
Author: | bvbjules13 [ Sun Dec 16, 2012 11:44 am ] |
Post subject: | Re: clear screen no working |
i need to create the buttons in the loop or they wont display, and i tried GUI.Dispose it didnt work |
Author: | Insectoid [ Sun Dec 16, 2012 11:50 am ] |
Post subject: | RE:clear screen no working |
Then you're doing it wrong. |