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

Top  Previous  Next

Declaration

procedure SetColumns(NewColumns: integer; Between: double);

 

Category

Column

 

Description

This method sets up a specific number of columns, NewColumns, with a separation, Between, between each column. The column width is calculated to fit within the current SectionLeft and SectionRight.

 

See also

TBaseReport Class, ColumnWidth, SectionLeft, SectionRight, SetColumnWidth

 

Example (Delphi)

// This code shows how to create 4 columns and send output to them. Also see PrintMemo. { with 0.5" between each }

SetColumns(4,0.5);

while ColumnLinesLeft > 0 do begin

PrintLn(IntToStr(LinesLeft) + '/' +

  IntToStr(ColumnLinesLeft) + '/' +

  IntToStr(LineNum)         + '/' +

  IntToStr(ColumnNum));

end; { while }

 

Example (C++Builder)

rp1->SetColumns(4,0.5);

while (rp1->ColumnLinesLeft() > 0) {

rp1->PrintLn( IntToStr(rp1->LinesLeft())   + "/" +

              IntToStr(rp1->ColumnLinesLeft()) + "/" +

              IntToStr(rp1->LineNum)         + "/" +

              IntToStr(rp1->ColumnNum));

}/ while

 



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