Hello, just not to invent the wheel again. I have a long text field with a table of contents at the beginning and headlines for chapters and I would like to make the table of content clickable as hyperlinks, so that the user is forwarded to the wanted chapter in the same field.
I can set the textstyle of each chapter in the table of content to "link" and handle the click in "on linkClicked pLink", no problem about that. The question is, how to handle the field scrolling to the wanted chapter headline after clicking on the hyperlink. When using "find whole pLink in the target", the find command finds first the chapter headline in the table of content and stops at the top. I could cheat this, by doubleing the find command, so that the second find command goes on searching and finds the real chapter headline and scrolls the field to the wanted chapter. But I think that there must be a more straight forward way to realize this kind of hyperlink. Thanks Tiemo _______________________________________________ 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