
-----------------------------------
Lyla
Fri Jan 15, 2010 8:14 pm

How Do You Delete A Drawfillbox?
-----------------------------------
Well I am making a quiz game in turing for a project for school.

There are many white drawfillboxes infront of a picture. The program asks you questions, and everytime you get one right; a box dissapears to reveal more of the picture.

So I need to know, how do you delete a drawfillbox?

And if it's impossible, what are some other things I could try?

-----------------------------------
ProgrammingFun
Fri Jan 15, 2010 8:24 pm

Re: How Do You Delete A Drawfillbox?
-----------------------------------
you could cls and then display everything again except for that one box.

You can eliminate the flicker that will occur by doing the following:

[syntax = "Turing"]

setscreen ("offscreenonly")  % to store next screen in memory (no visual)

%then put in everything again except for that one box

setscreen ("onscreen")  % to switch to normal mode

View.Update % to display the new content

[/syntax]

-----------------------------------
Lyla
Fri Jan 15, 2010 8:53 pm

RE:How Do You Delete A Drawfillbox?
-----------------------------------
Thank you so much, I really appretiate it!

My problem with Turing is I have my mind wrapped around one way of solving it, I never thought of that way for solving it.

Thanks for that and the code~

-----------------------------------
Insectoid
Fri Jan 15, 2010 9:44 pm

RE:How Do You Delete A Drawfillbox?
-----------------------------------
Such is the way of the programmer. You have to figure out the basest way of doing something before you can code it.
