T O P I C R E V I E W |
PeterPanino |
Posted - Aug 15 2017 : 18:11:23 The TImageEnMView DragDrop demos show only how to drag an image from a TImageEnMView to another control.
But I need to drag an image from a TImageEnMView to Windows Explorer where the image should be saved in a predefined format.
There is no file information in the image because the images in the TImageEnMView were created with SetImageFromStream.
BTW, while dragging the selected thumbnail image should be shown underneath the mouse.
Is this possible? Do you have a demo code which shows how to do this? |
3 L A T E S T R E P L I E S (Newest First) |
graph_man |
Posted - Oct 04 2018 : 19:20:39 Send me please your demo. |
PeterPanino |
Posted - Aug 16 2017 : 08:01:10 Hi Nigel,
I have solved it in a very nice way with the popular The-Drag-and-Drop-Component-Suite-for-Delphi.
If anybody is interested, I could provide a public Demo for this. |
xequte |
Posted - Aug 15 2017 : 22:51:33 Hi Peter
You can use TIEFolderMView if you need to drag files to Explorer:
https://www.imageen.com/help/TImageEnFolderMView.AutoDragFiles.html
It is quite different from VCL Drag/Drop.
But in your case you are dealing with memory files only, so you will need to implement your own code to handle it. Look for AutoDragFiles references in iexFolderMView.pas and copy that code to your own app. AFAIK, you will need to save the memory image to file for Windows Explorer.
Nigel Xequte Software www.xequte.com nigel@xequte.com |