[Squeakland] newbie(ish) question (buttons)
gaelli at emergent.de
Fri Feb 24 05:32:24 PST 2006
> Need a little help. I am trying to figure out how to use or (re-use
> buttons). I have a button to fire a script.
> eg I have a sketch and when you press the button it runs around the
> I want to be able to click the button a second time to stop the
> I have tried many things but just cannot quite get there. Any
> suggestions?? Thanks
You could ask the label of your button, if it says: "run" then run
_and_ change the label to "stop", and if it says "stop" vice versa.
"What makes sense to the user, often makes sense to the developer
More information about the Squeakland