Line Wrapping and Margins

Mark Schonewille m.schonewille at
Fri Sep 24 13:26:57 EDT 2010


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
KvK: 50277553

Download the Installer Maker plugin for Runtime Revolution at 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