ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Rearrange thumbnails?
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

cpstevenc

USA
125 Posts

Posted - Aug 19 2014 :  08:59:25  Show Profile  Reply
Got a TImageEnMView with thumbnails.

I populate these manually and each one has an ID #.

I want to allow the user to rearrange them easily by just
drag and drop to change the order.

Then i'll update the database that I got the data from on
which order to show them.

Could not find a demo program that showed this being doable.

I use drag/drop to allow new images to be added, but was
hoping their would an easy way to allow the control itself
to easily rearrange the images without coding every event?

Anyone got any tips on this?

w2m

USA
1990 Posts

Posted - Aug 19 2014 :  10:10:54  Show Profile  Reply
TImageEnMView does not support automatic thumbnail arrangement with drag & drop, but it is quite easy to add it by way of adding a few lines of code. Look at the XX:\Components\ImageEn\Demos\DragDrop\MultiView2 demo.

Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development
Go to Top of Page

cpstevenc

USA
125 Posts

Posted - Aug 19 2014 :  10:17:31  Show Profile  Reply
Thanks.. that is what I was figuring.. I found an older source
I did that kinda worked, but was hoping they would have just
kinda had this built in by now.

Ill check out that demo.
Go to Top of Page

xequte

39053 Posts

Posted - Aug 20 2014 :  21:14:25  Show Profile  Reply
Hi

The code is simple enough that I'm not sure there is great benefit in implementing as a property (also would cause clash/confusion with the file drag/drop code in TImageEnFolderMView).

I have made some small improvements to the drag drop demo. It will be released with the next ImageEn update, but email me if you want a copy now.



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: