You are reading help file online using chmlib.com
|
Rave Reports Developer Reference TBaseReport. OnNewColumn event (read/write/published) |
Top Previous Next |
Declaration procedure OnNewColumn(Sender: TObject);
Category
Description This event will be called whenever a new column has begun (after a call to PrintLn, NewLine, SetColumns or SetColumnWidth). This can be useful for printing column headers.
See also TBaseReport Class, NewLine, PrintLn, SetColumns, SetColumnWidth
Example (Delphi) procedure TReportForm.OnNewColumnReport10(Sender: TObject); begin with Sender as TBaseReport do begin Underline := true; PrintLn('Column Titles'); Underline := false; end; { with } end;
Example (C++Builder) void __fastcall TReportForm:: OnNewColumnReport10 (TObject *Sender) { TBaseReport* rp = dynamic_cast<TBaseReport*>(Sender); rp1->Underline = true; rp1->PrintLn("Column Titles"); rp1->Underline = false; } |
You are reading help file online using chmlib.com
|