Get Checked or Selected works great, but if I push it twice, the second time I 
get:
Unable to open file
C:\Users\James\AppData\Local\Temp\FiC152.odt
 
But I did make sure to close word and the PDF file before pushing it a second 
time.
 
I tried to change formatDateTime to include Days, because many selections go 
well over 24 hours and it was just leaving the days off... so instead of 
showing 2days, 3:14:54 it’s just showing 3:14:54  
So I changed format date to d:h:m:s  but for some reason the totals of the 
branches are coming up with 30 days even though the totals are nowhere near 
even one day.  I don’t see where the 30 days could possibly be coming from.
 
James
 
From: fpc-pascal <fpc-pascal-boun...@lists.freepascal.org> On Behalf Of Jean 
SUZINEAU via fpc-pascal
Sent: Friday, April 23, 2021 8:32 AM
To: fpc-pascal@lists.freepascal.org
Cc: Jean SUZINEAU <jean.suzin...@wanadoo.fr>
Subject: Re: [fpc-pascal] Directory Tree
 
Le 23/04/2021 à 11:08, James Richters via fpc-pascal a écrit :
Now if I type new text in the ODT document, it’s Consolas, but the actual text 
in the document is still Liberation Serif… and it doesn’t align, if I select 
all the text and change it to Consolas it’s fine.. I tried making a new 
template with Word I get a warning that some things won’t  be saved in ODT 
format.. and then it comes up with Calibri.  Maybe it’s an issue with Word.  
Maybe I’ll have to install open office to make the template.
 
I found out my error was happening because I didn’t close the template in Word.
May be toot that a handle stays open when I copy the template to a new file in 
the temp directory. I'm not sure.
 
 
The PDF Files have Consolas in them now, but I’m still getting too much space 
between the lines. I fiddled around with the settings under //Actual line but 
nothing I change seems to control the line spacing, it’s like it’s 1-1/2 line 
spaced, instead of just single spaced.
 
Instead of page breaks,  how about just two separate PDF files?  One with the 
tree and one with the file list?
 
I’ve been trying to clear the old file when Load from file is pressed with a 
new file.  I tried added slFiles.Clear and vst.Clear in 
ThVirtualStringTree.Load.fromFile, but I get an exception External Sigsegv  I 
think it has to do with an index that is set to the old data size, but I’m not 
sure how to re-set everything.
 
I’ve also been trying to save the last used INI file in Configuration.ini 
I've added this.


and just load that when the program starts.  Is there a way to make it run load 
from file as soon as the program is open, but after the screen is up so I can 
still see the load bar?
 
I’ve also been trying to combine Get Checked Items with get selected items.. so 
one button gets all items that are either checked or selected, but doesn’t 
create duplicate entries.
I tried to make a pull request of what I’ve been trying to do with 
configuration.ini and the combined get checked and selected, but I don’t know 
if it can be merged because there are a few files I had to commit that had the 
same name, but the cases were different… I had to commit them with one name and 
then commit them again with the other name to get past that or I couldn’t do 
anything with it.
I've added a checked or selected function.
The items are not duplicated and you can click the button Get Checked twice, 
memory is properly re-initialized.
 
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to