Calculation of totals (incorrect examples)
Posted: Fri Oct 05, 2018 9:02 am
Delphi version: Seattle (Not tested in Tokyo)
TTeeGrid version: VCL & FMX Registered version-1.06
Multidevice Application (FMX)
Platform: WIN32
The examples contained in Tee.Grid.Totals are not compilable, they seem developed for older versions of TTeeGrid.
In both examples the compiler gives the following error [dcc32 Error] : E2034 Too many actual parameters
With the examples of www.steema.com/product/gridvcl the same thing happens.
This would be an example if it works correctly for me.
Greetings and thanks.
TTeeGrid version: VCL & FMX Registered version-1.06
Multidevice Application (FMX)
Platform: WIN32
The examples contained in Tee.Grid.Totals are not compilable, they seem developed for older versions of TTeeGrid.
In both examples the compiler gives the following error [dcc32 Error] : E2034 Too many actual parameters
With the examples of www.steema.com/product/gridvcl the same thing happens.
This would be an example if it works correctly for me.
Code: Select all
uses Tee.Grid.Totals, Tee.Grid.Data
TeeGrid1.Totals := TColumnTotals.Create( TeeGrid1.Footer );
TeeGrid1.Totals.Calculation.Add( TeeGrid1.Columns['kilograms'] , TColumnCalculation.Sum );
Greetings and thanks.