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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Order TImageEnFolderMView FileName error

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
AndNit Posted - Jul 01 2020 : 16:30:13
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.
2   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Dec 10 2020 : 02:44:34
In 9.2.7 you can enable natural file sorting using:

IEFolderMView.SortOptions := [ iesNaturalSorting ];

Nigel
Xequte Software
www.imageen.com
xequte Posted - Jul 01 2020 : 19:21:38
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