Solved

Drag and Drop

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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
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…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

813 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

10 Experts available now in Live!

Get 1:1 Help Now