Page 1 of 1

field and dontWrap property

Posted: Sun Mar 02, 2014 11:16 am
by Jellobus
Hi people!

I am using LC with windows environment. I was trying to set the dontWrap of fld "fld" to false so that characters are not continuously typed in the line 1 forever.

How can I make fld wrap characters in its field? so characters will be return to next line to continue when it reaches the border of the field.
is it bug?? I tried with both script and inspector panel to set dontWrap to false. it seems not working at all. please advice :D

Have a great day,

Louis

Re: field and dontWrap property

Posted: Sun Mar 02, 2014 11:51 am
by dave.kilroy
Hi Jellous

I think 'wrap' only applies to words, not chars (just checked and wrap doesn't work with a long string of chars in OSX either)

This lesson from RunRev http://lessons.runrev.com/s/lessons/m/2 ... -wrap-text gives pointers as to how you might write your own 'wrap' for chars (but if you were later going to make use of the string of chars you would have to first remove any spaces or crs you had inserted). If the lesson doesn't make sense come back here and ask questions...

Dave

Re: field and dontWrap property

Posted: Sun Mar 02, 2014 12:27 pm
by Jellobus
Thanks Dave! I will look at the link :)

Cheers,

Louis