Hi,

Bernd and I had once a long thread in the forum about selecting
text where we found *the selectedLoc* to be very useful.

Means here:
[1] When writing the chapters mark their offset in your text in a
separate list, one line per mark [or as metadata of each link].

[2] Then walk once through the text, select the offsets and denote
the wanted scroll based on the selectedLoc and the field's top
(you may even adjust to "centering" or "scroll-to-2nd-line" here).
Then add these scrolls to your list and lookup this list when
clicking the link [or add these scrolls to the metadata of each
link].

If you resize the field or change the textsize/the textfont of
the field then simply update the list [or the metadata of each
link].

=======
Hermann

_______________________________________________
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

Reply via email to