Methode Print
Prints a copy of the PrintDBGrid object.
procedure Print(JobTitle: string);
Description
The Print method will bookmark the current grid position, move the cursor to the first record and start printing from there. It will print all records and place the grid cursor back to the original position.
If the PrintDialogPopup property is true, a print dialog will appear before the printing starts.
If field calculation is needed, use the OnPrintColumnCell event to thange the field value before it is printed.
JobTitle parameter sets the job title shown in the print manager.
Partager