AW: How to create a hyperlink within a text field?

Peter Haworth pete at lcsql.com
Thu Feb 4 18:28:12 EST 2016


This might be something I need to do in a different context.  I had been
thinking of using the metadata property of the lines referenced by the
links as a means to locate the correct line. Is that a plausible solution?


On Thu, Feb 4, 2016 at 1:29 PM BNig <bernd.niggemann at uni-wh.de> wrote:

> 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 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