[fpc-pascal] Directory Tree
James Richters
james.richters at productionautomation.net
Thu Apr 15 15:31:19 CEST 2021
>I finally found on my linux machine a 'test_gICAPI\jsLignes.Exclus.txt'
>...
>It should work for you now. I've tested several time checking out the whole repository and switching to the TjsDataContexe branch
It does work, but not perfectly. I'm using GitKracken and Github desktop. I am able to change to the TjsDataContexe branch now, but when I do, a lot of files show up in staged files as being removed, and I can't unstage them.. when I try, their case changes.. so an example is:
jsWorks/Generateur_de_code/04_Parametres/PROJECT.Details.txt if try to unstage the deleted file, it changes to
jsWorks/Generateur_de_code/04_Parametres/Project.Details.txt
there are 21 files like this all in jsWorks/Generateur_de_code/04_Parametres
>This way I could add another VirtualTreeView with no checkboxs to display the results. I think it's easier to use a VirtualTreeView to manage your time sums.
>The ThVirtualStringTree class allows to reuse the exact same code for the result tree with time sums, and it allows reduce the complexity and the amount of code in ufFileVirtualTree.
The two TVirtualStringTrees are very nice and keeping the file list above was a great idea.
A few questions, I hope you don't mind:
How did you make the TVirtualStringTree open the first level? I've been looking to see how you did it but I don't see how that was done.
I would like to have the second TVirtualStringTree expanded all the way out.
Is there a way to export the file list and the second TVirtualStringTree to a PDF file?
I would like to save settings to an INI file, things like window size, divider positions, ect.. I have done this with INI files in my console apps, I just write out every variable I want to save and read them back in.. but I'm curious if Lazarus is more sophisticated.. maybe it has a way to save all settings for a form by itself? Or do I do it the same way as my console app and save each variable myself?
Where is the proper place to load the INI file, where it would happen before the forms are displayed, and where is the proper place to save the INI file right before the program is closed?
Thanks again!
James
More information about the fpc-pascal
mailing list