Online Documentation for Advanced Excel Report for RAD Studio

OnSetCellValue event

 

Example


Applies to

TEXLReport component

 

Declaration

property OnSetCellValue: TEXLReportSetCellValueEvent;

TEXLReportSetCellValueEvent = procedure(Sender: TObject; Band: TEXLReportBand; RowInTemplate, RowInReport, 

ColumnInReport: Integervar CellValue: OleVariant) of object;

 

Description

 

The OnSetCellValue event takes place when the value of the result cell is set. According to the position of the cell you can change the cell value.

Parameter Band is the current Advanced Excel Report for RAD Studio band. RowInTemplate shows the tempale row applied to the current cell. RowInReport and ColumnInReport indicate the position of the cell in the result file. Output parameter CellValue is the value of the current cell.

 


See also:

OnGetFieldValue event