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. Macro method

Top  Previous  Next

Declaration

function Macro(MacroID: TMacroID): string;

 

Default

6

 

Category

Misc , Printing

 

Description

This function inserts a macro into your report. The macro will be inserted at the time of report output (to preview or printer) and not at report generation time. Use this method with all printing methods. For a list of MacroID see the type definition of TMacroID.

 

See also

TBaseReport Class, MacroData, TMacroID

 

Example (Delphi)

// Print the current page and total pages

PrintRight(Macro(midCurrentPage) + ' of ' +

Macro(midTotalPages), 8.0);

 

Example (C++Builder)

rp1->PrintRight(rp1->Macro(midCurrentPage) + " of " +

rp1->Macro(midTotalPages), 8.0);



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