Recent

Author Topic: Print a Form  (Read 5461 times)

spitofland

  • New Member
  • *
  • Posts: 26
Print a Form
« on: June 09, 2010, 11:50:35 am »
I am converting a delphi program to lazarus, but I don't know how to convert these lines of code.
Code: [Select]
  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.

 

TinyPortal © 2005-2018