> > Stéphane Ducasse wrote >> >> helene did you check on pharo by example because hilaire wrote something >> on morph drag and dropping a while ago and we used it. >> I looked for my little example where I controlled a that a morph would on >> demand repel a drop or accept it. >> I did not check it but here it is >> Let me know if it is working for you. first in 1.4 and if you can adapt it >> for your need. >> > > Yes, what you attached is the example from PBE1. It works perfectly well. > > My problem seems to be specific to the case, where a file or folder from > outside the Pharo window is dropped on the Morph. In this case it's always > the World that gets to handle the drop before my Morph is even asked to do > anything about it.
Check the code in HandMorph because it is the one that we started to clean with igor (our cleans are not in the image). But the handmorph has some wonderful case statement that handle the drop from external Sorry not to be able to be more supportive. Stef > > > > -- > View this message in context: > http://forum.world.st/HowTo-make-a-Morph-that-accepts-dropped-files-and-folders-and-produces-a-new-FileSystem-FileReferenc4-tp4644119p4644135.html > Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com. >
