Text Wrap in a Field???

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
cmhjon
Posts: 191
Joined: Tue Aug 04, 2015 11:55 am

Text Wrap in a Field???

Post by cmhjon » Wed Aug 12, 2015 10:35 pm

Hi everyone,

LC newbie here (using LC 7.0.6). I have tried both a text entry field and a scrolling field and upon typing lots of text, the text doesn't want to wrap to the next line once the right edge of the field is reached. I tried playing with various object properties but can't get this work.

Surely, there is a way to do this?

Many thanks,
Jon :)

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: Text Wrap in a Field???

Post by Simon » Wed Aug 12, 2015 10:44 pm

Hi Jon,
Make the field taller than 1 line and make sure Don't wrap is un-ticked.

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

cmhjon
Posts: 191
Joined: Tue Aug 04, 2015 11:55 am

Re: Text Wrap in a Field???

Post by cmhjon » Wed Aug 12, 2015 11:01 pm

Hi Simon,

I tried those and no luck.

Thanks,
Jon

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: Text Wrap in a Field???

Post by Simon » Wed Aug 12, 2015 11:06 pm

Not sure what to tell you but I've attached a stack showing the wrap.

Simon
Attachments
wrap.zip
LC 7.0.6
(533 Bytes) Downloaded 252 times
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

Klaus
Posts: 14199
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Text Wrap in a Field???

Post by Klaus » Thu Aug 13, 2015 11:08 am

Hi Jon,

make sure that "autowrap" property for this field is set to true!

Hint:
Livecode will only wrap at SPACES!
No space, no wrapping!


Best

Klaus

Post Reply