Solved

Drag and Drop

Posted on 1998-09-11
2
299 Views
Last Modified: 2010-04-06
Is it possible to write an application where the user can just select an item on it and then drag and drop it into another application (eg a Spreadsheet).  When the user drops it the program would process the data and then add it to the selected application.

I would be grateful for any advice offered regarding this.

Thanks in advance

John Clarke
0
Comment
Question by:johnclarke
2 Comments
 
LVL 10

Expert Comment

by:Jacco
ID: 1339392
Yes that is possible.

But before explaining anything I want to know are you going to write both applications or just one of them?

If you write both application no problem.

If you write only the application being dragged from and let the application being dragged to be Microsofts Excel then it will be a bit harder. The application being dragged to should support either DDE or OLE. And it will be tricky to activate that program.

Regards Jacco.
0
 
LVL 4

Accepted Solution

by:
d003303 earned 100 total points
ID: 1339393
Yo,
look at my component at
http://sunsite.informatik.rwth-aachen.de/delphi/ftp/d30free/oledgdp.zip
that does exactly that. Freeware, full source and sample included.
If you have questions to the sources -> ask here.

Slash/d003303
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This video discusses moving either the default database or any database to a new volume.

747 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

18 Experts available now in Live!

Get 1:1 Help Now