[QUESTION]bottomCenter

Karl Ramberg karl.ramberg at chello.se
Thu Jul 6 17:01:29 UTC 2000


Hi, 
I'm using this code to draw a line to bottomCenter of a morph:


	"test _ self bottomCenter."
	test _ self center x @ self bottom.
	


the variable test should draw to center of the bottom of the 
morph so I tried the method bottomCenter, and got a error, test => nil at nil.
But when I copied the content of the method and used it as in the code 
above it works. 
Anybody got a clue ? 

BTW: leftCenter, topCenter, rightCenter also answers nil at nil.





More information about the Squeak-dev mailing list