J. Landman Gay wrote > 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?
If you make the field not wide enough it it can happen that the chapter title breaks. The same if you give the user the option to increase text size or choose a different font http://forums.livecode.com/viewtopic.php?f=9&t=26468 number 4 is the stack that uses your code and is set to be admittedly ridiciously narrow. It shows the problem There is also Mark Waddinghams suggestion of using the formattedHeight. That would actually be the way to do a generalised solution including text that has non-fixed textHeight. Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/How-to-create-a-hyperlink-within-a-text-field-tp4700650p4700736.html Sent from the Revolution - User mailing list archive at Nabble.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