[fpc-pascal] Directory Tree
James Richters
james.richters at productionautomation.net
Sun May 2 23:42:34 CEST 2021
I’ve been making progress with learning how to make some modifications myself to this project, I’ve been pushing them to Github.
I added a custom report title, I have if functioning the way I want it to.. just pulling the report title from the INI file and saving it in a variable, then putting the contents of the variable in the report,
But I’m thinking I didn’t really define the variable the way it would normally be done with Lazarus. I just stuck a Report_Title : String; variable in the uText_to_PDF.pas unit… it works fine and that’s the way I would do it in a console application, but I’m thinking I should have made the variable part of the TText_to_PDF class… I tried to put it under public, but that did not work so I just made it a unit variable.
Is there a better way I should have defined this variable?
James
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20210502/357b71ce/attachment-0001.htm>
More information about the fpc-pascal
mailing list