[Newbies] ScriptableButton and mouseCodeToRun
polishookm at mail.montclair.edu
Thu Mar 13 16:01:14 UTC 2008
I know how to open a halo and navigate through menu choices to add a
mouseUp action to a ScriptableButton.
How can I add the mouseUp action with code? To be something like:
button := ScriptableButton new.
button position: 200 @ 200.
button label: 'Paragraph'.
" what goes here? "
button extension: (mouseUpCodeToRun -> 'Transcript show').
If the detective-process of how to figure it out could be explained as
well, that would be great.
Thanks very much in advance,
More information about the Beginners