Solved

Drag and Drop

Posted on 1998-09-11
2
303 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

790 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