| Unit: |
SDL_replist |
| Class: |
TReportListView |
| Declaration: |
property OnBeforeRenderCell: TRenderCellEvent;
{ TRenderCellEvent = procedure (Sender: TObject; ACol, ARow: integer; var PenColor, BrushColor, FontColor: TColor; var FontStyles: TFontStyles; var Text: string) of object; } |
The event OnBeforeRenderCell provides a hook for adjusting the colors, the font and the contents of a data cell of the report list. The event OnBeforeRenderCell occurs immediately before the data cell specified by the parameters ACol and ARow is drawn. The parameters PenColor, BrushColor, and FontColor contain the colors of the pen, the brush, and the font, respectively. The parameter FontStyles determines the style of the font, and the parameter Text may be used to adjust the displayed text.
|