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
 Sort by filename numerically

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
cfabio Posted - Sep 04 2017 : 06:58:04
Hi, I'd like to know if it's possible to sort by filename numerically on TImageEnMView.
Actualy after:
ImageEnMViewSeq.FillFromDirectory(dir)
I get:
1
11
12
2
20

instead of
1
2
11
12
20

Many thanks.
3   L A T E S T    R E P L I E S    (Newest First)
cfabio Posted - Sep 06 2017 : 12:04:42
Hi Patrick, many thanks for your good idea but in this case I can't rename because I receive files from another process and I'd like to avoid to rename. Many thanks for you help. Have a nice day. Fabio.
xequte Posted - Sep 04 2017 : 22:12:39
In 7.0.2, if you sort by "Filename without Extension" it will correctly sort number only filenames. You can email me for a pre-release if you like.



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Patrick Quinn Posted - Sep 04 2017 : 17:16:55
Could you rename the files to put leading zeros in front of the filenames (0001, 0002 etc)? That should work.

All my digital cameras name files in this way (_DSC0001.NEF, _DSC0002.NEF etc).