Morphs differ based on how brought to life?

Bijan Parsia bparsia at email.unc.edu
Sun Mar 25 05:32:28 UTC 2001


On Sun, 25 Mar 2001, Bijan Parsia wrote:
[snip]
> If you look at the #makeControls method, you'll see things like:
> 
> 		b _ SimpleButtonMorph new target: self;
> 				 borderColor: #raised;
> 				 borderWidth: 2;
> 				 color: color.
> Make sure you get the target: self in there.

I reiterate, and maybe repeat ned, inspect your button and see what the
target is (i.e., what's in the "target" ivar). See what happens if you
send your message to *that*. (I.e., simulated by hand what's supposed to
happen when you click the button.)

Cheers,
Bijan Parsia.





More information about the Squeak-dev mailing list