CHMlib Logo Leading Translation Management System for Translation Agencies, Top Translation Management Software for Freelance Translators, Time Tracking Software, Word Count, Character Count and Line Count Software, Computer Assisted Translation Tool for Easy Word Count, Clipboard Character Count Software, User-Friendly Translation Memory Software, Terminology Management Software, Terminology Management Server, Microsoft Glossary Software, Dictionary of Acronyms, Social Network for Translators and Translation Agencies, Acronyms and Abbreviations Search Engine, Russian Translation Lab, Ukrainian Translation Lab.
You are reading help file online using chmlib.com
CrisisHelper - First Aid in Tough Times of World Economic Crisis


_bm0 Rave Reports Developer Reference

TBaseReport. OnBeforePrint event (read/write/published)

Top  Previous  Next

Declaration

procedure OnBeforePrint(Sender: TObject);

 

Category

Control

 

Description

This event is called before the print job has begun. This can be useful to initialize non-report items such as table record pointers. This event can also be useful to set report items that must be set before the print job begins (such as paper size and orientation).

 

See also

TBaseReport Class, Execute, OnAfterPrint

 

Example (Delphi)

procedure TReportForm.BeforePrintReport5(Sender: TObject);

begin { BeforePrintReport5 }

with Sender as TBaseReport do begin

   StatusFormat := 'Printing Page '#13''#13'';

   StatusText.Add('');

   StatusText.Add('');

end; { with }

CustomerTable.First;

end;  { BeforePrintReport5 }

 

Example (C++Builder)

void __fastcall TReportForm:: BeforePrintReport5 (TObject *Sender)

{

TBaseReport* rp = dynamic_cast<TBaseReport*>(Sender);

rp1->StatusFormat = "Printing Page \n\n";

rp1->StatusText->Add("");

        rp1->StatusText->Add("");

CustomerTable->First();

} / BeforePrintReport5



You are reading help file online using chmlib.com

If you want your help file to be removed or added please send e-mail to chmlibcom@gmail.com