#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.
Thanks
#2
Posted
:
Sunday, May 21, 2006 9:41:29 AM(UTC)
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
Amin Dodin
Senior Support Engineer
LEAD Technologies, Inc.
#3
Posted
:
Monday, May 22, 2006 8:57:41 AM(UTC)
Groups: Registered
Posts: 5
#4
Posted
:
Monday, July 23, 2012 1:26:12 AM(UTC)
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
#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.
#6
Posted
:
Thursday, October 5, 2017 9:34:30 AM(UTC)
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.
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.