You are reading help file online using chmlib.com
|
Rave Reports Developer Reference TBaseReport. SetColumns method |
Top Previous Next |
Declaration procedure SetColumns(NewColumns: integer; Between: double);
Category
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
|