[Newbies] Re: Text with Link

Hilaire Fernandes hilaire at ofset.org
Thu Dec 6 21:52:16 UTC 2007


Hilaire Fernandes a écrit :
> How can I append a link to a text in a text morph?
> 
> I am trying without success:
> 
> | t m |
> m := TextMorphPlus new openInWorld.
> t := Text
>     string: 'hello '
>     attribute: (TextColor red).
> t append: (Text
>     string: ' TOTO'
>     attribute: (TextLink scanFrom: (ReadStream on: 'LMorph new;'))).

and I forgot the last line

m contents: (t).



More information about the Beginners mailing list