Game Development Community

GUI control to display text

by Jason McIntosh · in Torque Game Builder · 03/15/2005 (8:22 pm) · 8 replies

Is there a GUI control I can use to display paragraphs of text? I want to be able to feed it "some text\nwith newlines" but I can't seem to find anything that does this in the stock Torque GUI controls.

#1
03/15/2005 (8:37 pm)
You could use a message Vector...
#2
03/15/2005 (9:19 pm)
Ok, I'll look into that. Thanks!
#3
03/15/2005 (10:26 pm)
I accidentally discovered that GUIMLTextCtrl is actually a multi-line control that allows newlines. Doh! I assumed ML meant multi-language for some reason. :)
#4
03/15/2005 (11:32 pm)
It's Markup-Language.... it just also happens to be a Multi-line text control.
#5
03/16/2005 (12:02 am)
Well, who would have thought those two letters could be so versatile! Let's see:

GUIMeaningLessTextCtrl
GUIMassivelyLongTextCtrl
GUIMostlyLettersTextCtrl
GUIMoreLicensesTextCtrl
...

Ok I'll quit. I'm slap happy from no sleep. Thanks for the correction. :)
#6
03/16/2005 (7:33 am)
Lol... I almost put the guiMLText control... though couldn't remember if it was guiTextML or guiMLText... (was away from Torque 2D) so didn't want to give you wrong info :)....

Someone created a pretty nifty RPG Dialog resource for Torque 3D using guiMLText
#7
11/27/2006 (10:11 pm)
Okay, so could someone tell me how to make it do multiple lines of text, please? I've been using multiple text controls, but I'm having "overlap" issues. :S
#8
11/27/2006 (10:46 pm)
Check out the gui ML control. It allows you to do multiline in one control. The ML stands for markup language. You just put in line breaks using the markup language.