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

Username:   Password: 
 RegisterRegister   
 How Do You Delete A Drawfillbox?
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Lyla




PostPosted: Fri Jan 15, 2010 8:14 pm   Post subject: 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?
Sponsor
Sponsor
Sponsor
sponsor
ProgrammingFun




PostPosted: Fri Jan 15, 2010 8:24 pm   Post subject: 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




PostPosted: Fri Jan 15, 2010 8:53 pm   Post subject: 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




PostPosted: Fri Jan 15, 2010 9:44 pm   Post subject: 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.
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: