
-----------------------------------
learning_turing
Wed Aug 11, 2010 4:43 pm

how to create a text box with scroll bars?
-----------------------------------
What is it you are trying to achieve?



What is the problem you are having?



Describe what you have tried to solve this problem



Post any relevant code (You may choose to attach the file instead of posting the code if it is too long)








Please specify what version of Turing you are using


-----------------------------------
Insectoid
Wed Aug 11, 2010 5:04 pm

RE:how to create a text box with scroll bars?
-----------------------------------
I think yer missin' somethin'.

-----------------------------------
learning_turing
Wed Aug 11, 2010 5:19 pm

Re: how to create a text box with scroll bars?
-----------------------------------
oh no, it didn't post the stuff i wrote.
oops.  :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

-----------------------------------
Insectoid
Wed Aug 11, 2010 5:24 pm

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
Wed Aug 11, 2010 5:28 pm

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
Wed Aug 11, 2010 5:59 pm

Re: how to create a text box with scroll bars?
-----------------------------------
look into the [tdoc]gui[/tdoc] module, specifically [tdoc]gui.createtextbox[/tdoc].

-----------------------------------
Tony
Wed Aug 11, 2010 7:48 pm

Re: how to create a text box with scroll bars?
-----------------------------------
oh no, it didn't post the stuff i wrote.
oops.  :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 [tdoc]Font.Draw[/tdoc] -- this allows you to "draw" text as a graphic.
