On 01.12.2009, at 07:06, K. K. Subramaniam wrote:
>
> On Tuesday 01 December 2009 09:12:00 am mrsteve wrote:
>> How can I create a "link" in a piece of text that on"mouse down" event it
>> shows a particular script.
> See SimpleButton in the Supplies. It associates a piece of text with a script
> and you can choose what type of mouse action will trigger the script. You may
> set the button color to transparent and border width to zero if you like. The
> label can be edited from the white halo button ("change label").
... and then you can embed that button in the text (just like you can embed arbitrary objects in a text).
It seems we have some rendering and layout problems though (SQ-613). I've attached a demo project anyway.
- Bert -
_______________________________________________
squeakland mailing list
[hidden email]
http://lists.squeakland.org/mailman/listinfo/squeakland