Simple tutorial on linktext and clicking list text

xbury.cs at clearstream.com xbury.cs at clearstream.com
Wed Jan 26 05:28:45 EST 2005


it's quite simple.
Make a field with some text. If you want the text to look like a web 
clickeable url
make the text "link" style (text menu). 

In the field's script (or the card's) put in the handler

on linkclicked w
  if w =...
end linkclicked....

Other alternatives without linked text are:
on mouseup 
  get the clickchunk or clicktext...
  if it is whatilike then...

Enjoy
Xavier






Stephen Van Esch <vanesch at yahoo.com>
Sent by: use-revolution-bounces at lists.runrev.com
26.01.2005 11:20
Please respond to How to use Revolution

 
        To:     use-revolution at lists.runrev.com
        cc:     (bcc: Xavier Bury/CLEARSTREAM/GDB)
        Subject:        Simple tutorial on linktext and clicking list text

.

Folks:

I'm new to Revolution and I'd like basic, step-by-step
instructions on making text in a field clickable. I've
gone through the Rev docs but can't seem to get
anything to work.

Please note that I have never attempted this type of
thing before so some things that may be obvious aren't
for me. For example, when I enter code, where exactly
do I enter it? As a card, object, or stack script?

Sorry for the annoyance. I've managed to build a
simple stack using buttons but I'd prefer to use links
and clickcable lists if possible.

Thanks.

Steve


 
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - Find what you need with new enhanced search.
http://info.mail.yahoo.com/mail_250
_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution





-----------------------------------------
Visit us at http://www.clearstream.com
IMPORTANT MESSAGE    Internet communications are not secure and therefore
Clearstream International does not accept legal responsibility for the
contents of this message.    The information contained in this e-mail is
confidential and may be legally privileged. It is intended solely for the
addressee. If you are not the intended recipient, any disclosure, copying,
distribution or any action taken or omitted to be taken in reliance on it,
is prohibited and may be unlawful. Any views expressed in this e-mail are
those of the individual sender, except where the sender specifically states
them to be the views of Clearstream International or of any of its
affiliates or subsidiaries.    END OF DISCLAIMER


More information about the Use-livecode mailing list