Forum > General

Print a Form


I am converting a delphi program to lazarus, but I don't know how to convert these lines of code.

--- Code: ---  printdialog1.Execute;
--- End code ---

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.)



[0] Message Index

Go to full version