T O P I C R E V I E W |
graphman |
Posted - Nov 10 2014 : 09:18:19 Program has ImageEnMView component. How to drag and drop image (page) from one ImageEnMView (instance 1) to other ImageEnMView (instance 2)???
Thank you. |
4 L A T E S T R E P L I E S (Newest First) |
xequte |
Posted - Nov 10 2014 : 18:22:47 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 |
w2m |
Posted - Nov 10 2014 : 10:35:31 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 |
graphman |
Posted - Nov 10 2014 : 10:10:14 Two instances = two started programs (two copies of the program). One program has one TimageEnMview component. |
w2m |
Posted - Nov 10 2014 : 09:20:13 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 |