Line Wrapping and Margins

Michael D Mays michael at michaelsmanias.com
Fri Sep 24 13:57:38 EDT 2010


Thanks Mark and Craig,

That's what I need.
Unfortunately that property doesn't show up in the dictionary as a property of a field (only a button) so it makes it a little hard to find. :(
And the syntax example for formatedWidth some punctuation.

Michael


On Sep 24, 2010, at 12:26 PM, Mark Schonewille wrote:

> 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
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list