Line Wrapping and Margins

Mark Schonewille m.schonewille at economy-x-talk.com
Fri Sep 24 13:26:57 EDT 2010


Michael,

That should be something like this:

if the formattedWidth of word 1 to x of line y of fld z > the width of fld z - item 1 of the margins of fld z - item 3 of the margins of fld z then
  put cr after word x of line y of fld z
end if

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553

Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce Create installers for Mac and Windows on *every* Rev-compatible platform. No additional software needed.

On 24 sep 2010, at 19:05, Michael D Mays wrote:

> Hi,
> 
> How can I tell where (at what position or character) a line wraps in a  field?
> 
> If I have a word which has a length greater than the width of the field it is contained in, how can I get it to wrap anywhere other than at the end of the word?
> 
> 
> Thanks,
> Michael




More information about the use-livecode mailing list