Re: How to get a button to start painting
Ricardo Moran <[email protected]>
| Newsgroups | gmane.comp.lang.smalltalk.squeak.squeakland |
|---|---|
| Message-ID | <CALr=5n12fcRjDZ9-ii9Wp=tiKzBSXDFYhj6_vUhhjZ5gJf6G=A@mail.gmail.com> |
Hi, If I understood your problem correctly, I think you can create an empty drawing and in the button script put something like this: [ Sketch | copy | do menu item | repaint ] So now, when you click the button you'll be repainting a copy of the original sketch and you can use it many times. Cheers, Richo On Tue, May 15, 2012 at 11:30 AM, Luis Valente <[email protected]> wrote: > Dear friends, > I've a student developping a project to teach some basic math concepts. In > her proposal, it's needed a button to start drwaing things using the etoys > paintbox. Because it will be needed several times I can't recommend the "do > menu item" "repaint". > Anny suggestiont to help solve this problem will be appreciated. > > Luis > > _______________________________________________ > squeakland mailing list > [email protected] > http://lists.squeakland.org/mailman/listinfo/squeakland > > _______________________________________________ squeakland mailing list [email protected] http://lists.squeakland.org/mailman/listinfo/squeakland