Posted by fuji in SWF Studio V3 on Feb 28 2008, 06:52 pm

Is there a way to use ssCore.Printer.printText function with "\t" to format the string?

I have tried using chr(9) and "\t" but both fail to tab the text over. The only characters that it seems to use in the function are chr(13) and chr(10) for the newline. Is my understanding correct, or can other characters be used, such as the tab character?


Posted by northcode in SWF Studio V3 on Feb 28 2008, 10:19 pm

The only thing Printer.printText understands is how to wrap text within the margins you set and interpret \r and \n as line breaks. It doesn't interpret tab characters as anything special.


Posted by fuji in SWF Studio V3 on Feb 29 2008, 10:58 am

That's what I figured, but I just wanted to check with you.

Thanks.