Computer Science Canada how to create a text box with scroll bars? |
Author: | learning_turing [ 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>
Please specify what version of Turing you are using <Answer Here> |
Author: | Insectoid [ Wed Aug 11, 2010 5:04 pm ] |
Post subject: | RE:how to create a text box with scroll bars? |
I think yer missin' somethin'. |
Author: | learning_turing [ 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. ![]() 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 |
Author: | Insectoid [ 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. |
Author: | learning_turing [ 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? |
Author: | TheGuardian001 [ 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. |
Author: | Tony [ 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. ![]() 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. |