[Squeakland] Deleting multiple copies of an object?
Scott Wallace
scott.wallace at squeakland.org
Tue Oct 11 23:25:59 PDT 2005
Hi, Bob,
The easiest thing in a situation like this is to select all the
unwanted objects using "group select," then to hit the pink X
halo-handle of the "group halo" to delete all of the selected
objects at once:
To do this, hold down the shift key as you mouse-down on the Squeak
"desktop" somewhere above and to the left of the stack of unwanted
objects, and then drag-through rightward and downwards, with the
mouse-button still down, letting up on the button once the cursor is
below and to the right of the stack of objects. This will do a
"group select" on all the objects enclosed by the selection rectangle
thus drawn. Now a simple click on the "X" of the resulting "group
halo" will delete all of the selected objects at once.
Cheers,
-- Scott
PS: Note that this "group select" feature is also useful for
repositioning a group of objects on the screen without changing their
positions relative to one another.
At 11:32 AM -0400 10/11/05, Bob Irving wrote:
>Content-Type: text/html
>Content-Description: HTML
>
>I have a student who is programming a game. Part of his script
>changed an object into a copy of another object. Since copies of
>objects show up under the object, he didn't realize that he had make
>about 300 copies of this object. Now he wants to get rid of them
>without deleting each one individually. Is there a way to do this
>programmatically?
>
>Thanks in advance,
>
>
>Bob Irving
>Middle School Technology Facilitator
>Lancaster Country Day School
>Lancaster, PA
>Blog: <http://www.e-lcds.org/wordpress/>www.e-lcds.org/wordpress/
>"It is not necessary to change. Survival is not mandatory." W. Edward Deming
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://squeakland.org/pipermail/squeakland/attachments/20051011/84cc7457/attachment.htm
More information about the Squeakland
mailing list