Any ideas on working out number of characters(approx) that can be entered into a field
Jan Schenkel
janschenkel at yahoo.com
Mon Aug 26 12:31:48 EDT 2013
Because the physical split may happen in the middle of a logical line, if the field is set to wrap.
The 'pageRanges' mirrors the 'pageHeights' property in its logic to find out which chunk of the field represents a page.
Jan Schenkel.
=====
Quartam Reports & PDF Library for LiveCode
www.quartam.com
=====
"As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld)
>________________________________
> From: Geoff Canyon <gcanyon at gmail.com>
>To: How to use LiveCode <use-livecode at lists.runrev.com>
>Sent: Monday, August 26, 2013 6:22 PM
>Subject: Re: Any ideas on working out number of characters(approx) that can be entered into a field
>
>
>On Mon, Aug 26, 2013 at 11:07 AM, J. Landman Gay
><jacque at hyperactivesw.com>wrote:
>
>> See the "pageRanges" property in the dictionary. It gives a list of
>> character ranges that fit the height of the field.
>
>
>
>Crazy question -- what's the benefit of returning a character range instead
>of a line range?
>_______________________________________________
>use-livecode mailing list
>use-livecode at lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
>
More information about the use-livecode
mailing list