AW: How to navigate within a text field?

Tiemo Hollmann TB toolbook at kestner.de
Fri May 24 12:06:43 EDT 2013


Sometimes I don't see the obvious :(
Thank you for rearranging my brain
Tiemo


> -----Ursprüngliche Nachricht-----
> Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im
Auftrag
> von dunbarx at aol.com
> Gesendet: Freitag, 24. Mai 2013 17:23
> An: use-livecode at lists.runrev.com
> Betreff: Re: How to navigate within a text field?
> 
> Tiemo.
> 
> 
> I must be misunderstanding. Why wouldn't this work in the field script:
> 
> 
> 
> 
> on mouseup
>    get the value of the clickline
>    find whole it in me
>    find whole it in me
> end mouseup
> 
> 
> 
> Craig Newman
> 
> 
> 
> -----Original Message-----
> From: Tiemo Hollmann TB <toolbook at kestner.de>
> To: 'How to use LiveCode' <use-livecode at lists.runrev.com>
> Sent: Fri, May 24, 2013 8:14 am
> Subject: How to navigate within a text field?
> 
> 
> Hello,
> 
> I have a text field with a small directory at the beginning and several
> chapters. I would like the user to navigate within the text like in HTML
> with text marks, clicking on a directory headline brings him to the
> beginning of the selected chapter. I could use the linktext property, but
I
> am missing a target property as a "text mark" and a "go" to it. (without
> using HTML and a browser)
> 
> Is there a better approach as putting each chapter in a separate field and
> showing and hiding each field with selecting one of the linktexts in the
> directory? I think there must be a more suitable way to handle this
> behavior.
> 
> Any hints?
> 
> Thank you
> 
> Tiemo
> 
> 
> 
> _______________________________________________
> 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
> 
> 
> _______________________________________________
> 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