TCustomTeeFunction.OnCalculate
 
 
 

All Units  All Classes  Properties, Methods and Events  

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;






Send us Help Feedback. Copyright 1995-2013 © by Steema Software. All Rights Reserved.