Thanks for that Mick. Even if it is not the answer still it is one more grain 
added. I am not looking for implementing drag of a Form object. I am only 
looking to implement a drag to new position of a Image object on a form. Your 
links show how to do a drag of a Form object.

Regards
TFE
http://totallyfreeenergy.zxq.net

--- In [email protected], "mikcaau" <mikc...@...> wrote:
>
> 
> 
> --- In [email protected], "totallyfreeenergy" <totallyfreeenergy@> 
> wrote:
> >
> > I tried to follow the code in the Delphi 7 help. But I am unable to get the 
> > drag drop functionality going. Can someone post a sample code for say drag 
> > drop an Image object on a form. Thanks for any help on this. 
> > 
> > TFE
> > http://totallyfreeenergy.zxq.net
> >
> I answered this question earlier this year and I think that you were the 
> questionier. In 5 minutes with google I found the answer because that was 
> faster than searching my code
> try these links
> 
> http://www.delphicorner.f9.co.uk/articles/forms2.htm
> http://thinksharp.org/how-to-provide-dragging-or-resizing-of-any-control/
> 
> and in particular look for 
> SC_DRAGMOVE = $F012
> 
> Mick
>


Reply via email to