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

Username:   Password: 
 RegisterRegister   
 how to create a text box with scroll bars?
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
learning_turing




PostPosted: Wed Aug 11, 2010 4:43 pm   Post subject: how to create a text box with scroll bars?

What is it you are trying to achieve?
<Replace all the <> with your answers/code and remove the <>>


What is the problem you are having?
<Answer Here>


Describe what you have tried to solve this problem
<Answer Here>


Post any relevant code (You may choose to attach the file instead of posting the code if it is too long)
<Answer Here>

Turing:


<Add your code here>



Please specify what version of Turing you are using
<Answer Here>
Sponsor
Sponsor
Sponsor
sponsor
Insectoid




PostPosted: Wed Aug 11, 2010 5:04 pm   Post subject: RE:how to create a text box with scroll bars?

I think yer missin' somethin'.
learning_turing




PostPosted: Wed Aug 11, 2010 5:19 pm   Post subject: Re: how to create a text box with scroll bars?

oh no, it didn't post the stuff i wrote.
oops. Embarassed
um, i just wanted help making a textbox with a scrollbar. the turing "help" wasn't much help, and the given syntax didn't seem to work.
a code would be very helpful.
thanks
Insectoid




PostPosted: Wed Aug 11, 2010 5:24 pm   Post subject: RE:how to create a text box with scroll bars?

View.Set ("text") will give you a scrollbar, though you won't be able to draw graphics and whatnot. I dunno what support Turing's GUI has for this.
learning_turing




PostPosted: Wed Aug 11, 2010 5:28 pm   Post subject: Re: how to create a text box with scroll bars?

um, but i meant like a small text box, in the graphics mode. where the text can go so that it doesn't interrupt the graphics?
TheGuardian001




PostPosted: Wed Aug 11, 2010 5:59 pm   Post subject: Re: how to create a text box with scroll bars?

look into the gui module, specifically gui.createtextbox.
Tony




PostPosted: Wed Aug 11, 2010 7:48 pm   Post subject: Re: how to create a text box with scroll bars?

learning_turing @ Wed Aug 11, 2010 5:19 pm wrote:
oh no, it didn't post the stuff i wrote.
oops. Embarassed

It's a known glitch with using preview on new posts in Turing Help (this code base is such a mess right now).

Depending on the application, you might also be interested in Font.Draw -- this allows you to "draw" text as a graphic.
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
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  [ 7 Posts ]
Jump to:   


Style:  
Search: