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
 Order TImageEnFolderMView FileName error
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

AndNit

Brazil
61 Posts

Posted - Jul 01 2020 :  16:30:13  Show Profile  Reply
Good afternoon, I'm using TImageEnFolderMView and I'm not able to sort the files in a folder according to the example shown in ShellListView.

The condition is as follows:

I have JPG files inside a certain folder, this folder I upload to my TImageEnFolderMView through the command ImageEnFolderMView.Folder: = Folder;
the Order of these files in this folder:
1.jpg
2.jpg
3.jpg
...
100.jpg
101.jpg

However when I load them in my TImageEnFolderMView the order is:

1.jpg
10.jpg
100.jpg
101.jpg
...

I have a lready changed the SortOrder for all options, but I am unable to sort correctly. Please help me.
NOTE: I apologize, but I'm using Google's translation tool to convert from PTBR to English.

xequte

38176 Posts

Posted - Jul 01 2020 :  19:21:38  Show Profile  Reply
Hi

At this time, ImageEn only does alphabetical sorting. It does not check for numbers in filenames. I'll add this to the to-do list.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

xequte

38176 Posts

Posted - Dec 10 2020 :  02:44:34  Show Profile  Reply
In 9.2.7 you can enable natural file sorting using:

IEFolderMView.SortOptions := [ iesNaturalSorting ];

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