<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">Le 13/04/2021 à 13:50, James Richters
via fpc-pascal a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:3a5401d7305b$264ebad0$72ec3070$@productionautomation.net">
<pre class="moz-quote-pre" wrap="">I tried to make a fork of your repository but I could not change off the master branch,, I always get an error: Checkout Failed Cannot checkout to invalid path 'tools/text_glCAPI\jsLignes.Exclus.txt' I suspect the / in the path is the problem because I am on Windows and it can only use \ for the path.. but I don't know how to fix it, so I just made my own repository of this so I can use GitHub.
The current version is at <a class="moz-txt-link-freetext" href="https://github.com/Zaaphod/FileTree">https://github.com/Zaaphod/FileTree</a></pre>
</blockquote>
I've removed this file. I work both with Linux and Windows, most of
the time it's ok, but it can happen when by mistake I commit some
files with weird names that can cause some havoc in git in Windows
... For example the same file name but with differences in char
case:<br>
<pre>'tools/jsFichiers/JSFICHIERS_Resultat_du.txt'
'tools/jsFichiers/jsFichiers_Resultat_du.txt'
</pre>
<blockquote type="cite"
cite="mid:3a5401d7305b$264ebad0$72ec3070$@productionautomation.net">
<pre class="moz-quote-pre" wrap="">I noticed the time was in hours and minutes, but it's supposed to be in minutes and seconds, but sometimes it's in hours and minutes and seconds, so I tried to fix this.. it seems to be fixed ok for the totals, but to fix it I had to put the extra 0: in front of all my times so they are 0:03:20 instead of 3:20 I was able to display it the way I want in the totals, but I don't see how to change how it's displayed in the files.. so they are displaying with the extra 0: now.</pre>
</blockquote>
<p>I've added a few lines to handle this. <br>
Conversion from datetime to string is in TTreeData.SetdValue, and
conversion from string to datetime is in TTreeData.SetValue.
</p>
<blockquote type="cite"
cite="mid:3a5401d7305b$264ebad0$72ec3070$@productionautomation.net">
<pre class="moz-quote-pre" wrap="">But I noticed the VirtualTreeView is not building the tree correctly. I am getting </pre>
</blockquote>
I made an error in
TfFileVirtualTree.vst_addnode_from_key_value:Recursif.<br>
With "slNodes.AddObject( sCle, TObject(Parent));" ,
M:\Project1\File2 ended up in M: instead of M:\Project1<br>
Corrected with : slNodes.AddObject( sCle, TObject(Node));
<blockquote type="cite"
cite="mid:3a5401d7305b$264ebad0$72ec3070$@productionautomation.net">
<pre class="moz-quote-pre" wrap="">The program takes a while to load with a large datafile, is there a way to put up some kind of screen immediately, even just a box that says loading... just to let the user know the program was started so they don’t try to start it again? Or even more fun.. have a bargraph showing the progress through the INI file 😊 (something I have absoilutly no idea how to accomplish)</pre>
</blockquote>
<p>I have added a gauge and a buttton to trigger the processing.</p>
<p>I find the execution relatively slow on Windows, I can see the
progression of the gauge. <br>
On Ubuntu the result appears instantly, I can't see the
progression of the gauge ( and my linux machine is less powerful
than my windows machine).</p>
<blockquote type="cite"
cite="mid:3a5401d7305b$264ebad0$72ec3070$@productionautomation.net">
<pre class="moz-quote-pre" wrap="">Thanks again for the help with this!</pre>
</blockquote>
With pleasure. I couldn't do this all the time, but it happens I
have a bit of free time for this these days.<br>
<br>
<br>
</body>
</html>