Re: [Newbies] Morphic event-handling confusion

2007-03-18 Thread stephane ducasse
queak." Subject: Re: [Newbies] Morphic event-handling confusion Max OrHai wrote: handlesMouseStillDown: evt ^ true mouseStillDown: evt self position: evt hand position. These apparently don't do anything. But, that's OK, because I can, as Bert suggested, just send &quo

Re: [Newbies] Morphic event-handling confusion

2007-03-18 Thread stephane ducasse
here is an example of drag and drop and repel :) DragAndDropRepel.3.cs Description: Binary data Have fun On 15 mars 07, at 07:31, Max OrHai wrote: I'm trying to use Morphic, in Squeak 3.9, to make a very simple "physics model" I call a HockeyPuck. The idea is that it's a CircleMorph subc

Re: [Newbies] Morphic event-handling confusion

2007-03-17 Thread max
rom: Michael van der Gulik <[EMAIL PROTECTED]> Date: Sat, 17 Mar 2007 17:45:07 To:"A friendly place to get answers to even the most basic questions aboutSqueak." Subject: Re: [Newbies] Morphic event-handling confusion Max OrHai wrote: > > >>handlesMouseStil

Re: [Newbies] Morphic event-handling confusion

2007-03-16 Thread Michael van der Gulik
Max OrHai wrote: handlesMouseStillDown: evt ^ true mouseStillDown: evt self position: evt hand position. These apparently don't do anything. But, that's OK, because I can, as Bert suggested, just send "evt hand #grabMorph: self". Except, oops, that's NOT OK, because now mouseUp

Re: [Newbies] Morphic event-handling confusion

2007-03-15 Thread Max OrHai
On Thu, 2007-03-15 at 23:23 +1300, Michael van der Gulik wrote: > Firstly, I might just make the point that Morphic is a pain to work > with. I've often been at my wits end trying to work out what on earth it > is doing and how to get it to behave. You're not the only one. Oh, I know that. :-)

Re: [Newbies] Morphic event-handling confusion

2007-03-15 Thread Bert Freudenberg
On Mar 15, 2007, at 11:23 , Michael van der Gulik wrote: There's a two-step sequence of messages I'd like my Puck to receive while still doing the normal getting-moved-by-the-Hand stuff. No go. You need to implement your mouse behavior on your own, using an event handler (#on:send:to:) or by

Re: [Newbies] Morphic event-handling confusion

2007-03-15 Thread Michael van der Gulik
Max OrHai wrote: I'm trying to use Morphic, in Squeak 3.9, to make a very simple "physics model" I call a HockeyPuck. The idea is that it's a CircleMorph subclass that one should be able to pick up with the Hand and "throw", and have it bounce off the World edge (and then, hopefully, other such

[Newbies] Morphic event-handling confusion

2007-03-14 Thread Max OrHai
I'm trying to use Morphic, in Squeak 3.9, to make a very simple "physics model" I call a HockeyPuck. The idea is that it's a CircleMorph subclass that one should be able to pick up with the Hand and "throw", and have it bounce off the World edge (and then, hopefully, other such Pucks). I've got the