Contents
- Index
- Previous
- Next
OnRecalculateCell event
Applies to
TProfGrid component
Declaration
property OnRecalculateCell: TProfGridRecalculateCellEvent;
Description
Occurs before a cell containing a formula is calculated.
The event provides a way to substitute a value for the cell and/or cancel calculation of the cell's formula.
Example
procedure TForm1.ProfGrid1RecalculateCell(Sender: TProfGrid; ACol,
ARow: Integer; var DoCalculate: Boolean; var CellValue: Variant);
begin
DoCalculate := False;
CellValue := 'something';
end;