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 : Tuesday, May 3, 2011 6:07:07 AM(UTC)

rabb89  
rabb89

Groups: Registered
Posts: 6


Hello,

Atalasoft already has feature which allows to reorder items in thumbnailBrowser using drag and drop. Could you implement it please? We very need this feature.

Best regards,
Rabb89
 

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 : Tuesday, May 3, 2011 6:18:38 AM(UTC)

rabb89  
rabb89

Groups: Registered
Posts: 6


I forgot to mention that we can't implement it like in here http://support.leadtools...ShowPost.aspx#6073  because we don't operate on files but on RasterImage instances.
 
#3 Posted : Tuesday, May 3, 2011 6:35:12 AM(UTC)

rabb89  
rabb89

Groups: Registered
Posts: 6


Just read from documentantion that ThumbnailBrowser is purposed for creating thumbnails on disk, so I would say that is feature request rather for RasterImageList than for RasterThumbnailBrowser
 
#4 Posted : Wednesday, May 4, 2011 8:28:05 AM(UTC)
Maen Hasan

Groups: Registered, Tech Support
Posts: 1,326

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

I am attaching a small LEADTOOLS v17 VS2008 C# project that shows how you can reorder items in RasterImageList using drag and drop.

Thanks,
Maen Badwan
LEADTOOLS Technical Support
File Attachment(s):
ThumbsDragDrop.zip (15kb) downloaded 65 time(s).
 
#5 Posted : Wednesday, May 4, 2011 10:19:01 AM(UTC)

rabb89  
rabb89

Groups: Registered
Posts: 6


Thank you very much for this example. I have only 2 issues with it:

1) It doesn't support multiselected items moving
2) It would be very very helpful to see where moving items will be placed via helper line (illustrated in screenshot)

Could you add this features to example, please?

Btw. tell me please does RasterImageList support lazy loading? (ilustrated in lazy loading.jpg) - if there were thousands of images, it would waste a lot of memory if load all at start.

Thank you a lot,
Rabb89
 
#6 Posted : Wednesday, May 4, 2011 10:20:42 AM(UTC)

rabb89  
rabb89

Groups: Registered
Posts: 6


Attachment
File Attachment(s):
RasterImageList.zip (59kb) downloaded 52 time(s).
 
#7 Posted : Thursday, May 5, 2011 5:15:01 AM(UTC)
Maen Hasan

Groups: Registered, Tech Support
Posts: 1,326

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

About efficient loading of thumbnails, this is shown in the demo attached with the following forum post:
http://support.leadtools.com/SupportPortal/CS/forums/32636/ShowPost.aspx

About multi-selecting items, this is supported in our image list, and you can enable it using the RasterImageList.SelectionMode property.

About marking the location where you want to drop the items, you can do that by drawing the mark using the rasterImageList1.CreateGraphics() method, then use the .NET GDI+ drawing methods to make your mark.

Thanks,
Maen Badwan
LEADTOOLS Technical Support
 
#8 Posted : Thursday, May 5, 2011 10:08:22 AM(UTC)

rabb89  
rabb89

Groups: Registered
Posts: 6


I already tried to modify your example with SelectionMode = Multi but unfortunately when you select e.g two items and then mouse down to start dragging selection disapears (only mouseDowned item stays selected)

Thanks
Rabb89
 
#9 Posted : Sunday, May 8, 2011 3:54:33 AM(UTC)
Maen Hasan

Groups: Registered, Tech Support
Posts: 1,326

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

OK, I will try to do the changes you requested, so please send an email to support@leadtools.com and mention this forum post to follow up.

Thanks,
Maen Badwan
LEADTOOLS Technical Support
 
#10 Posted : Friday, January 3, 2014 4:57:24 AM(UTC)
terry.bogard

Groups: Registered
Posts: 18


hello ,
is this example updated for multiple files selection ?
 
#11 Posted : Monday, January 6, 2014 6:22:51 AM(UTC)

mohamed  
mohamed

Groups: Registered, Tech Support
Posts: 179


There are ways to handle drag and drop with multiple items selection. One of them is shown in the attached demo, but this demo does not cover all cases and is only intended to show the basic idea of dragging several items together.

If you want to use this code in your actual project, you should test all cases carefully such as when the user clicks on different parts of the control or drags in different ways, and you might have to modify the code based on your requirements.
File Attachment(s):
ThumbsDragDrop.zip (24kb) downloaded 63 time(s).
Mohamed Abedallah
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.112 seconds.