The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



OnBeforeRenderCell


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.


Last Update: 2012-Oct-25