How to navigate within a text field?
dunbarx at aol.com
dunbarx at aol.com
Fri May 24 11:22:54 EDT 2013
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
More information about the use-livecode
mailing list