On 2/4/2016 4:22 AM, BNig wrote:
I like Jaques solution too because it is unequivocal because of the hash.
But Tiemo allows the user to change the width of the field, see his
crossposting to the forum
http://forums.livecode.com/viewtopic.php?f=9&t=26468
That is where Jaque's solution can fail because of wrapping.
The formattedtext returns the correct metrics for me even when the field
size is changed and the text re-wraps. Do you get different results?
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode