Linktext is the way to go...

Such as...

Set the linktext of word 2 of field "myField" to "myCard"


Then, in order to respond to it, you can do one of the following:

If it is a locked field, do this:

On linkclicked pLink
  If exists(card pLink of this stack) = true then go card pLink
End linkclicked




If this is in an unlocked field, linkclicked won't work. For an unlocked
field, use this:

On selectionchanged
  -- make sure it is a click action, rather than a highlighting action
  If word 4 of the selectedchunk <= word 2 of the selectedchunk then
exit selectionchanged

  -- then get the link information of the selected text and respond to
it
  Put the linktext of the selection into tLink
  If exists(card tLink of this stack) = true then go card tLink

End selectionchanged


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Douglas
Gilliland
Sent: Thursday, July 14, 2005 12:04 PM
To: [email protected]
Subject: Text Hyperlink

How can I select a word in a scrolling text field and assign it
actions? I have been placing transparent buttons over text in
non-scrolling fields- works great but won't work for scrolling fields.
Searched the documentation and Dan's book but no answers. Tried
selecting the text and using link (hoping for a hyperlink) but that
looks like it is more for grouping text.

I know this is a simple question (as all questions are when you know
the answer) but being a newbe who authored in HyperStudio for years, I
can't figure it out.

I do appreciate all the advice I have received in previous posts. 
Doug Gilliland
Sarasota, FL
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to