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

Notification

Icon
Error

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

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.

Thanks

 

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)

Amin  
Amin

Groups: Manager, Tech Support
Posts: 367

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

Allan,
The attached program is a simple demo based on the project shipped with the toolkit under:
LEADTOOLS14.5\Examples\DOTNET\v11\CS\ThumbnailBrowserDemo

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 174 time(s).
Amin Dodin

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

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.

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

RobertB  
Guest

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 160 time(s).
 
#6 Posted : Thursday, October 5, 2017 9:34:30 AM(UTC)
Anthony Northrup

Groups: Registered, Tech Support, Administrators
Posts: 199

Was thanked: 28 time(s) in 28 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 145 time(s).
Anthony Northrup
Developer Support Engineer
LEAD Technologies, Inc.

LEAD Logo
 
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-2024, Yet Another Forum.NET
This page was generated in 0.143 seconds.