| View previous topic :: View next topic |
| Author |
Message |
mrsteve member
Joined: 24 Sep 2009 Posts: 20 Location: NJ
|
Posted: Mon Nov 30, 2009 11:41 pm Post subject: How do I create a "text link" to show a script? |
|
|
| How can I create a "link" in a piece of text that on"mouse down" event it shows a particular script. |
|
| Back to top |
|
 |
mrsteve member
Joined: 24 Sep 2009 Posts: 20 Location: NJ
|
Posted: Thu Dec 03, 2009 11:34 pm Post subject: |
|
|
Was searching the web for something else and I found this answer to my question from Subbu at http://lists.squeakland.org/pipermail/squeakland/2009-December/005042.html
Thanks Subbu
| Quote: | 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").
Subbu |
|
|
| Back to top |
|
 |
|