Solved

Drag and Drop

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

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…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

867 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

17 Experts available now in Live!

Get 1:1 Help Now