Solved

drag drop problem

Posted on 2000-04-25
5
147 Views
Last Modified: 2010-04-04
Hi;
I need to drag an object and to drop it into another object. I know I can use the Drag Mode and the DragOver and the Drag drop properties , but the thing is that I want that the Drag object will move with the mouse that leads it to the target object. More than that, I want that the drag object will place nicely and not the way I did.
 I want the draged object, will move with me while I am moving the coursor. the problem is that
the draged object is moved up and than jump to the target but does not moves with me when I moves it.

0
Comment
Question by:ofirg
5 Comments
 
LVL 3

Expert Comment

by:f15iaf
ID: 2746912
change cursor icon when ondragover event acurs
0
 
LVL 3

Expert Comment

by:f15iaf
ID: 2746913
f15iaf changed the proposed answer to a comment
0
 
LVL 2

Expert Comment

by:NetoMan
ID: 2747863
Try with TImage Objects... They will move with you while you are moving the cursor with the draged object.
0
 

Accepted Solution

by:
apostolost earned 100 total points
ID: 2750916
Use SetDragImage method to display an Image during Drag&Drop Operations.

Apostolos
0
 

Expert Comment

by:jpdupont
ID: 2754532
apostolost,

could you give us a sample ?

Thanks,

JP
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

929 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now