More Morphic Fun

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

More Morphic Fun

JeffreyStraszheim
I want to create a container -- a panel -- that will contain other
Morphs, but within which I can drag the morphs around.  If the more were
dragged out from the container it should be deleted.

What is the most straightforward way to do this?  Drag and drop?

--
Jeffrey Straszheim
http://straszheim.50megs.com

_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

Re: More Morphic Fun

Karl-19
Jeffrey Straszheim wrote:
> I want to create a container -- a panel -- that will contain other
> Morphs, but within which I can drag the morphs around.  If the more
> were dragged out from the container it should be deleted.
>
> What is the most straightforward way to do this?  Drag and drop?
>
Use a PasteUpMorph which is the one used as the desktop. Use mouseLeave
to do the delete.

Karl
_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

Re: More Morphic Fun

Edgar J. De Cleene
In reply to this post by JeffreyStraszheim



El 2/19/08 11:22 PM, "Jeffrey Straszheim" <[hidden email]>
escribió:

> I want to create a container -- a panel -- that will contain other
> Morphs, but within which I can drag the morphs around.  If the more were
> dragged out from the container it should be deleted.
>
> What is the most straightforward way to do this?  Drag and drop?
>
> --
> Jeffrey Straszheim
> http://straszheim.50megs.com

If you mean an box A inside a larger box B , yes and then play with position
of B.
If you mean several boxes droped and new boxes deleting old boxes , no. you
need some code.

Or I miss some here.

Cheers.

Edgar



_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners