I am converting a delphi program to lazarus, but I don't know how to convert these lines of code.
printdialog1.Execute;
ABCCalcForm.Print;
It seems that the first line will work as expected, but I need to find a replacement for "ABCCalcForm.Print;"
Does anyone know how to print a form to a printer? (I'm hoping for a simple solution, but as long as it works, I'll take any help I can get.)
Thanks.