| Unit: |
SDL_ntabed |
| Class: |
TNTabEd |
| Declaration: |
property OnBeforeRenderCell: TBeforeRenderCellEvent; { TBeforeRenderCellEvent = procedure (Sender: TObject; colix, rowix: integer; var Text: string; var ColorText, ColorBakg: TColor; var FontStyles: TFontStyles) 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 colix and rowix is drawn. The parameters ColorText and ColorBakg contain the colors of the text and the cell background, respectively. The parameter FontStyles determines the style of the font, and the parameter Text may be used to adjust the displayed text.
|