I have compiled the TMS TreeView demo and I have uploaded it to my web page:
http://www.i3dconverter.com/media/Demo.zip
Pieter
(Pieter)
September 17, 2018, 10:31am
24
Did you change any system settings?
We are still not able to reproduce this issue here so it's unclear what exactly is going wrong.
I did not change anything.
I have posted a screenshot on 17 Feb 2017 at 1:51pm on the following topic:
It sorted the names much more better then the actual version:
Pieter
(Pieter)
September 18, 2018, 9:11am
26
Again, with the latest version (1.0.1.3) we are not able to reproduce this, with the default settings. Please send us a sample that is able to reproduce this issue we can investigate here.
Pieter
(Pieter)
September 19, 2018, 9:20am
28
We get an error here that the demo cannot be openened. It's unclear exactly what needs to be done to get this working?
Double click on the downloaded .zip file and drag and drop
the demo app from the Downloads folder to the Applications folder using
Mac's Finder.
Run the Demo app.
Run the Demo app from the Applications.
To be able to debug an issue, we need to be able to compile from the IDE. With just running a binary application, there is very little we can do.
Bruno,
I have used (compiled) the official TMS FMX UI Pack Demos\TreeView demo without any modifications.
Pieter
(Pieter)
September 20, 2018, 9:22am
33
Hi,
We have tested this here with the demo and still could not reproduce the issue. We suspect that the sort order is based on system settings. To make sure the files are in alphabetical order you can use the treeview sorting method as an alternative:
procedure TForm96.TMSFMXDirectoryTreeView1AfterExpandNode(Sender: TObject;
ANode: TTMSFMXTreeViewVirtualNode);
begin
AutoSizeColumns;
TMSFMXDirectoryTreeView1.Sort(0, True, True, nsmAscending);
end;
Hello,
I have installed the 10.14 Mojave on my Mac with the default settings and it worked as the previous OS worked also.
After it I added the suggested code to my program:
TMSFMXDirectoryTreeView.Sort(0, True, True, nsmAscending);
and the result was in abc order.
I have tried it on Win32/Win64/macOS/Linux 64 and I think it does not use the SortOrder parameter:
The result was the same in the following cases:
TMSFMXDirectoryTreeView.SortOrder:=TTMSFMXDirectoryTreeViewSortOrder.tvsoDirectoriesFirst;
TMSFMXDirectoryTreeView.SortOrder:=TTMSFMXDirectoryTreeViewSortOrder.tvsoFilesFirst;
TMSFMXDirectoryTreeView.SortOrder:=TTMSFMXDirectoryTreeViewSortOrder.tvsoNone;
Pieter
(Pieter)
October 1, 2018, 11:21am
35
Hi,
the SortOrder is being used correctly. Again, we cannot see an issue here. Are you able to test this on another machine?
Hello,
As I wrote I have tested it on Windows PC also.
I have uploaded the demo source code and the executable also:
Hello,
As I wrote I have tested it on Windows PC also.
I have uploaded the demo source code and the executable also:
I have used the TMSFMXDirectoryTreeView1.SortOrder:=TTMSFMXDirectoryTreeViewSortOrder.tvsoDirectoriesFirst; and the component completely ignore it as you can see on the picture.
Pieter
(Pieter)
October 3, 2018, 3:38pm
39
Hi,
We have tested this here and didn't see an issue. Which exact version are you using of the directory treeview component? The version we are using is 1.0.1.3. After setting the SortOrder to tvsoDirectoriesFirst we get the following screenshot which is the correct order.
I am using the v3.6.8.5 TMS FMX UI Pack
FMX.TMSDirectoryTreeView.pas
// v1.0.1.3 : Fixed: Issue with fetching correct drive info in Windows 64 bit operating system
Did you try the Win32 executable (that I have complied) on your Windows?
http://www.i3dconverter.com/media/Directory_source_with_win32_executable.zip