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

Username:   Password: 
 RegisterRegister   
 Make Turing Ignore Text Input
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
XXX111




PostPosted: Sun Jan 16, 2011 10:46 am   Post subject: Make Turing Ignore Text Input

I have a program that uses pictures to simulate clicking on buttons. When the program is being run, if the keyboard is pressed nothing appears to happen but later when the user is required to type something the text that was typed earlier appears. Is there any way to tell turing to ignore text input at the beginning and only allow it for a certain procedure? Thanks
Sponsor
Sponsor
Sponsor
sponsor
huskiesgoaler34




PostPosted: Sun Jan 16, 2011 10:50 am   Post subject: Re: Make Turing Ignore Text Input

post some of your code.
XXX111




PostPosted: Sun Jan 16, 2011 11:04 am   Post subject: Re: Make Turing Ignore Text Input

I'd rather not because it's very long and I don't want people to copy it, I just want to make turing ignore text regardless of my code
TokenHerbz




PostPosted: Sun Jan 16, 2011 11:13 am   Post subject: RE:Make Turing Ignore Text Input

there is, you should set your program to graphics mode. then when you want the users text you can get it.
XXX111




PostPosted: Sun Jan 16, 2011 11:19 am   Post subject: Re: Make Turing Ignore Text Input

it is already set to graphics mode, thanks for all of the help but I think I found the solution, I used the turing help "flush" program to remove any characters that the user types right before they are supposed to type something
doubleN




PostPosted: Sun Jan 16, 2011 8:08 pm   Post subject: Re: Make Turing Ignore Text Input

or use setscreen("noecho")?
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  [ 6 Posts ]
Jump to:   


Style:  
Search: