QUOTE(rgkovach @ 06/12/09, 06:14 PM) [snapback]309377[/snapback]
I am looking for methods to populate a MEL GUI with text stored offline in a text file.
Since the text i'm looking for can be of varying lengths, and each call to the UI command "text" creates just a single line of text with no line wrapping, I was wondering if it's possible to split a lengthy string into multiple strings of X length...?
thanks.
looks like the "scrollField" UI command is what i'm after.
I'm guessing you'd test the width of the text using size($Text)
Then use substring to chop up your string adding "\n" where line breaks are needed.