Multiline text edit ala notepad in GUI
by Benjamin L. Grauer · in Torque Game Builder · 10/01/2007 (5:19 am) · 6 replies
I'm trying to do a little simple text typing field, where I could type multiple line of text (with a slider also, if possible).
I tried guitextedit, but it is only for a single line of text.
Is there a way for achieving multiline text edit ?
I tried guitextedit, but it is only for a single line of text.
Is there a way for achieving multiline text edit ?
#2
I was wondering how you were displaying the text edited. I'm a student over at the University of Southern California and have a game that needs a text input and then display the text inputted and previous inputs in a scrollable field. This seems to be what you're talking about. If you could post anthing about this i would appreciate the help.
Nick Sager
11/19/2007 (12:46 pm)
Grauer,I was wondering how you were displaying the text edited. I'm a student over at the University of Southern California and have a game that needs a text input and then display the text inputted and previous inputs in a scrollable field. This seems to be what you're talking about. If you could post anthing about this i would appreciate the help.
Nick Sager
#3
11/21/2007 (2:33 pm)
I'd very much like to know how you got it to work, too.
#4
11/21/2007 (3:43 pm)
Putting an ML text control inside of the scroll control (as Benjamin said) should do the trick.
#5
But, unfortunately it has an issue on TGB 1.5, the cursor is strangely acting, unlike in 1.1.3 in which it works well.
12/02/2007 (10:10 pm)
Yep, and don't forget to set the profile "guiTextEditProfile" on the GuiMLTextCtrl.But, unfortunately it has an issue on TGB 1.5, the cursor is strangely acting, unlike in 1.1.3 in which it works well.
#6
And like Benjamin said...... The cursor is all over the place!
Ive been working on a project for the last week or so and am desperate to have multiline text editing functionality!
I did how ever, just about manage to get around it by using the GuiTextEditCtrl by creating a new one in a stack control each time I pressed 'enter'.
Not excactly ideal....and causes a bit of a headache.
If anybody has any solutions I would be very gratefull!!!
02/05/2008 (1:26 pm)
Ive just tried the GuiMLTextCtrl with the profile "guiTextEditProfile" on TGB 1.6.And like Benjamin said...... The cursor is all over the place!
Ive been working on a project for the last week or so and am desperate to have multiline text editing functionality!
I did how ever, just about manage to get around it by using the GuiTextEditCtrl by creating a new one in a stack control each time I pressed 'enter'.
Not excactly ideal....and causes a bit of a headache.
If anybody has any solutions I would be very gratefull!!!
Torque Owner Benjamin L. Grauer