changing textStyle on the fly

Toma Tasovac ttasovac at Princeton.EDU
Sun Dec 22 14:13:01 EST 2002


Thanks a million, Howard!

I am always amazed with the speed at which answers get posted on this 
list.

T.


On Sunday, December 22, 2002, at 08:00  PM, Howard Bornstein wrote:
>
> on mouseup
>   put the clickchunk into tClicked
>   if tClicked is not empty then
>     put the textStyle of tClicked into tStyle
>     if tStyle is "link" then
>       set the textStyle of tClicked to "plain"
>       put the mousetext after fld "Display"
>       set the textStyle of tClicked to "link"
>       hide groups
>     else
>       put the clickText after fld "Display"
>     end if
>   end if
> end mouseup
>
________________________________
Toma Tasovac
Princeton University
Department of Comparative Literature
91 Prospect Avenue
Princeton, NJ 08544
USA

ttasovac at princeton.edu
ttasovac at post.harvard.edu




More information about the use-livecode mailing list