simulating anchors

james lewes jameslewes at comcast.net
Sat Sep 14 06:24:01 CDT 2002


hpow can one simulate html anchors in Revolution

james


> From: james lewes <jameslewes at comcast.net>
> Reply-To: use-revolution at lists.runrev.com
> Date: Fri, 13 Sep 2002 10:50:17 -0400
> To: use-revolution at lists.runrev.com
> Subject: Re: hyperLinking from text field
> 
> I am sure that I am exhibiting a deep degree of ignorance, but how do you
> set the list field to true
> 
>> From: cowhead at mac.com
>> Reply-To: use-revolution at lists.runrev.com
>> Date: Fri, 13 Sep 2002 18:59:08 +0900
>> To: use-revolution at lists.runrev.com
>> Subject: Re: hyperLinking from text field
>> 
>> 
>> James wrote:
>> 
>>> GHow can I build a scrollable field that works like an html table with
>>> 120
>>> buttons in it. Each of the buttons needs to lonk to a specific card. Can
>>> this also be done with a text field.
>> 
>> Check out "linkText" property in the docs.  It's a beautiful thing.  If
>> each 'button' (just really 'names' in this case) is on a separate line,
>> make your field a list field (set list behaviour to true), set the
>> textstyle of the field to "link",  then set the linkText for each line
>> in the field to "cardName" of the card that you want to go to (you can
>> do this easily with a script).
>> 
>> Then, in the mouseup handler of the field, you put
>> get the selectedChunk
>> put the linkText of it into whereGo
>> go to card whereGo
>> 
>> If you want to do something fancier, just ask :-)
>> 
>> mark mitchell
>> Japan
>> 
>> _______________________________________________
>> use-revolution mailing list
>> use-revolution at lists.runrev.com
>> http://lists.runrev.com/mailman/listinfo/use-revolution
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list