You don't need to drag-and-drop to do that, just figure out how much the mouse has moved since the mouse-button was pushed and change the images .left and .top by that amount.
Doug totallyfreeenergy wrote: > This is for achieving drag to new position of a TImage object during runtime. > I had captured the OnMouseDown with dragmode set to dk_manual. I had set the > new X and Y position in the OnDragDrop event. Image1.BeginDrag(False, 10) as > suggested by David. It still doesn't work. > > Regards > TFE, > http://totallyfreeenergy.zxq.net > > --- In [email protected], Robert Jenkins <uss...@...> wrote: > >> I found a nice article related to drag and drop. Here is the link: >> >> http://www.delphidabbler.com/articles?article=11 >> >> I hope this helps, if not let me know and I might can put together a demo to >> help understand it better. >> >> Robert >> >> On Sat, Dec 19, 2009 at 2:21 PM, totallyfreeenergy < >> totallyfreeene...@...> wrote: >> >> >>> It did not work ! I am using Delphi 7 on Windows XP SP3 >>> >>> TFE >>> > > > > > ------------------------------------ > > ----------------------------------------------------- > Home page: http://groups.yahoo.com/group/delphi-en/ > To unsubscribe: [email protected]! Groups Links > > > > > ------------------------------------------------------------------------ > > > No virus found in this incoming message. > Checked by AVG - www.avg.com > Version: 9.0.717 / Virus Database: 270.14.114/2575 - Release Date: 12/19/09 > 01:33:00 > > [Non-text portions of this message have been removed]

