TCustomTeeFunction.OnCalculate
TCustomTeeFunction
property OnCalculate: TCalculateEvent;
Unit
TeeFunci
Description
The StartX property determines the first "X" value to use, and the NumPoints property means the number of times to call OnCalculate event.
The Period property is the "step" to apply to "X" between each call to OnCalculate.
procedure TCustomFunctionDemo.TeeFunction1Calculate(Sender: TCustomTeeFunction;
const x: Double; var y: Double);
begin
y:=Sin(x/10);
end;