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

Username:   Password: 
 RegisterRegister   
 offscreenonly help
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
kicknock




PostPosted: Thu Mar 29, 2007 8:16 pm   Post subject: offscreenonly help

when i use "offscreenonly" in "setscreen", anything i type in when using the "get" statement doesnt show. also, when i use the GUI menu, the dropdown options doesnt show.

how do i make them show?
Sponsor
Sponsor
Sponsor
sponsor
Clayton




PostPosted: Thu Mar 29, 2007 8:34 pm   Post subject: RE:offscreenonly help

the reason nothing shows when typing is because all of the text is drawn to the back buffer. This is never seen by the user until the back buffer is drawn to the screen. The same is true for your dropdown menu. I suggest you take a look at my View.Set and View.Update tutorial in the Turing Walkthrough.
ericfourfour




PostPosted: Thu Mar 29, 2007 10:11 pm   Post subject: RE:offscreenonly help

If you must use get, try View.Set ("nooffscreenonly") to stop the double buffering and View.Set ("offscreenonly") to start the double buffering.

If you want a better alternative, I made a Getter class which can be found somewhere in Turing Submissions. It has a flashing cursor (iirc) so the user knows when to type, and it will work with double buffering.

As for the gui portion, simply place your View.Update after the gui is rendered onto the backbuffer.
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  [ 3 Posts ]
Jump to:   


Style:  
Search: