logo       

Moving an object inside another object with respective to cursor position: msg#00130

lang.smalltalk.squeak.beginners

Subject: Moving an object inside another object with respective to cursor position


hi all,
I have created an rectangle morph and a small ellipse morph. I want
to place the ellipse in the rectangle and move the small ellipse(circle) in
the direction of the mouse pointer. I want the small ellipse does not come
out of the rectangle but small ellipse should be moving with respect to
direction of the mouse just as movingeyemorph making the ellipse stay at one
place move with in the direction of mouse .can anyone help me make this
happen
--
View this message in context:
http://www.nabble.com/Moving-an-object-inside--another-object-with-respective-to-cursor-position-tf2657990.html#a7414229
Sent from the Squeak - Beginners mailing list archive at Nabble.com.


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise