Solved

Drag and Drop

Posted on 1998-09-11
2
304 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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 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…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

726 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