ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Drag and drop between instances
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

graphman

259 Posts

Posted - Nov 10 2014 :  09:18:19  Show Profile  Reply
Program has ImageEnMView component.
How to drag and drop image (page) from one ImageEnMView (instance 1) to other ImageEnMView (instance 2)???


Thank you.

w2m

USA
1990 Posts

Posted - Nov 10 2014 :  09:20:13  Show Profile  Reply
What do you mean by instance?
Do you have 2 TimageEnMview components on the form?

Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development
Go to Top of Page

graphman

259 Posts

Posted - Nov 10 2014 :  10:10:14  Show Profile  Reply
Two instances = two started programs (two copies of the program).
One program has one TimageEnMview component.
Go to Top of Page

w2m

USA
1990 Posts

Posted - Nov 10 2014 :  10:35:31  Show Profile  Reply
I believe you need to use com drag and drop which works between two applications. Vcl Drag and Drop does not function between applications. The only component that I know of that does this with modern versions of Delphi is Raize DropMaster 2.

DropMaster 2 is a set of 4 native VCL controls for use in Delphi and C++Builder. While the VCL components included with Delphi and C++Builder permit drag and drop between windows in the same application, DropMaster allows developers to add support for drag and drop between applications. The drag and drop can be between the developer's new application and existing applications such as the Microsoft Office suite, a web browser, etc., or between two custom-written applications.

http://www.raize.com/DevTools/DropMaster/

There are several open source components to do this but they have not been updated and will not compile with modern XE versions of Delphi. Melanders Drag And Drop Component was last updated in 2010 so it is 4 years old now and if you try to compile it with XE versions of Delphi there are lots of lines that will not compile. You may find it here: http://melander.dk/delphi/dragdrop/

Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development
Go to Top of Page

xequte

39142 Posts

Posted - Nov 10 2014 :  18:22:47  Show Profile  Reply
Hi

You can also use a TImageEnFolderMView (filling it manually if necessary) which supports file dragging and dropping:

http://www.imageen.com/help/TImageEnFolderMView.AutoDragFiles.html
http://www.imageen.com/help/TImageEnFolderMView.AutoDropFiles.html

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: