【发布时间】:2012-04-11 15:11:01
【问题描述】:
可能重复:
How to get the sort order in Delphi as in Windows Explorer?
我正在寻找一个可以像 Windows 资源管理器一样进行比较(用于文件排序)的函数。现在我正在使用CompareText 函数,但结果如下:
--------- /\ ---------
AFile
BFile
_XFile
-----------------------
Windows 资源管理器以这种方式对相同的项目进行排序(这就是我想要的):
--------- /\ ---------
_XFile
AFile
BFile
-----------------------
是否有这种比较的功能,还是我应该自己处理?
谢谢!
【问题讨论】:
-
RRUZ,我的错,对不起。我已经投票关闭。下次我会更仔细地检查提议的比赛。谢谢!
标签: delphi file sorting delphi-xe2 windows-explorer