Re: Line Wrapping and Margins

2010-09-27 Thread Peter Brigham MD

On Sep 24, 2010, at 1:57 PM, Michael D Mays wrote:


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


I added a user comment on this to the dictionary entry for  
formattedWidth.


-- Peter

Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~pmbrig




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

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?


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Line Wrapping and Margins

2010-09-24 Thread Michael D Mays
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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Line Wrapping and Margins

2010-09-24 Thread DunbarX
Check out the formattedText in the dictionary.

Craig Newman
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Line Wrapping and Margins

2010-09-24 Thread Mark Schonewille
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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Line Wrapping and Margins

2010-09-24 Thread Michael D Mays
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@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution