Please help me out someone on this. I'll be really grateful. Thanks<br><br><div class="gmail_quote">On Wed, Apr 7, 2010 at 8:57 PM, Anshul Jain <span dir="ltr"><<a href="mailto:aj.phoenixter@gmail.com">aj.phoenixter@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div></div><div class="h5"><div class="gmail_quote"><br clear="all">Hello,
<div><br></div><div>I have been trying to move my image using the object.move(x,y) function by maintaining a list of instances corresponding to each image. I have done this using MIMEdata class.</div><div><br></div><div>
The aim of the code is to implement drag and drop and then if one block is in vicinity of other block, snap fit it together. The problem is that the list( self.l) that maintains the new coordinates of the image gets edited as and when the block is in some other block's vicinity but it does not move to the new position. </div>
<div><br></div><div>I am attaching the code. Please see why the block does not update the move when lines 238-241 are executed.</div><div><br></div><div><br></div><div>Test condition: The code is still incomplete and to test those line please initially shift all the blocks one by one to any arbitrary location so that the new position with each block has an entry in the list (self.l)</div>
<div><br></div><div>Please help me out on this. I've been trying this code for a week now :( .</div>
</div><br><br clear="all"></div></div>Here's the link to the file: <a href="http://rapidshare.com/files/373087514/Archive.zip" target="_blank">http://rapidshare.com/files/373087514/Archive.zip</a>
</blockquote></div><br><br clear="all"><br>
<div><br></div>