Hi
We use the ThumbnailEx with the Viewer Control. Is there a possibility to Add Images from the Explorer to the Thumbail ?? We want to give the user the opportunity to add it with DragNDrop. If this is possible, do you have any examples. We use the GDPicture with Delphi.
DragNDRop From Explorer
Re: DragNDRop From Explorer
Hello
Sorry for the delayed reply.
You need to set the AllowDropFiles property of the ThumbnailEx control to true : https://www.gdpicture.com/guides/gdpicture/web ... Files.html.
After that, users can do drag and drop files from Explorer. You can do the same for the viewer : https://www.gdpicture.com/guides/gdpicture/web ... pFile.html
Please let us know if you need further informations.
With best regards,
Romain
GdPicture Team
Sorry for the delayed reply.
You need to set the AllowDropFiles property of the ThumbnailEx control to true : https://www.gdpicture.com/guides/gdpicture/web ... Files.html.
After that, users can do drag and drop files from Explorer. You can do the same for the viewer : https://www.gdpicture.com/guides/gdpicture/web ... pFile.html
Please let us know if you need further informations.
With best regards,
Romain
GdPicture Team
Re: DragNDRop From Explorer
In the standard .net drag&drop implementation the events / overwrites DragEnter / DragOver can be used to reject wrong files. In the Viewer control the events do not rise, so I only can allow drop files for all file types / combinations. The user can drag exe, dll, folders, the effect is "Copy", but I cannot process them, because the only reasonable implementation wants to open a file (in my situation a PDF) or do something with one file (overlay / underlay). I cannot explain to the user that I cannot do this. Please send me a hint. In the thumbnail control I found a ListView inside and I captured its events. For the viewer all my tries failed.
Who is online
Users browsing this forum: No registered users and 0 guests