Welcome Guest! To enable all features, please Login or Register.



Last Go to last post Unread Go to first unread post
#1 Posted : Friday, May 12, 2006 12:40:06 PM(UTC)

Groups: Registered
Posts: 5

I'm using the 14.5 Document Imaging evaluation in 2.0 C#.

Can somebody give me a hand with this? My requirement is to be able to drag and drop selected items from a RasterImageList to a RasterImageViewer (or a control containing one). The RasterImageList should also be available as a drop target.

I've tried several things but I can't get drag and drop events to raise. Some guidance would be appreciated and some sample code would be fantastic.

Also, since this seems like such basic UI functionality when using RasterImageList or RasterThumbnailBrowser, I think a demonstration should be added to the examples.



Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Sunday, May 21, 2006 9:41:29 AM(UTC)


Groups: Manager, Tech Support
Posts: 367

The attached program is a simple demo based on the project shipped with the toolkit under:

It contains the remark (//Dragging) in the file MainForm.cs for lines that were modified to implement Drag and Drop features.
It contains basic functionality and I tried to keep it simple by including the minimum code needed to do dragging from list items to the viewer control. Microsoft documentation contains more details, including a larger code sample under the help topic for "Control.AllowDrop Property".

Dragging here is done using the file name. There are actually different ways of doing it, and you can change what data to send from the source to the target controls.

Note: This is a v1.1 project to make it usable to more .NET customers, but is should be easy to convert it to v2.0

File Attachment(s):
ThumbnailBrowserDragDrop.zip (14kb) downloaded 173 time(s).
Amin Dodin

Senior Support Engineer
LEAD Technologies, Inc.
#3 Posted : Monday, May 22, 2006 8:57:41 AM(UTC)

Groups: Registered
Posts: 5

Thanks again, Amin!
#4 Posted : Monday, July 23, 2012 1:26:12 AM(UTC)
Maen Hasan

Groups: Registered, Tech Support
Posts: 1,326

Was thanked: 1 time(s) in 1 post(s)

I have updated the demo to use LEADTOOLS .Net v17.5.

Maen Badwan
LEADTOOLS Technical Support
File Attachment(s):
ThumbnailBrowserDragDrop.zip (491kb) downloaded 164 time(s).
#5 Posted : Tuesday, October 15, 2013 5:49:13 AM(UTC)


Groups: Guests
Posts: 3,022

Was thanked: 2 time(s) in 2 post(s)

I have updated this demo for LEADTOOLS 18.
File Attachment(s):
ThumbnailBrowserDragDrop18.zip (464kb) downloaded 158 time(s).
#6 Posted : Thursday, October 5, 2017 9:34:30 AM(UTC)
Anthony Northrup

Groups: Registered, Tech Support, Administrators
Posts: 199

Was thanked: 27 time(s) in 27 post(s)

Updated to LEADTOOLS v19 with Visual Studio 2017. Also changed project to automatically select dll's for running in 32-bit and 64-bit.
Extract to "C:\LEADTOOLS 19\Examples\DotNet\CS\" to use the example.
File Attachment(s):
CS_ThumbnailDragDrop.zip (460kb) downloaded 143 time(s).
Anthony Northrup
Developer Support Engineer
LEAD Technologies, Inc.

You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2023, Yet Another Forum.NET
This page was generated in 0.177 seconds.