Contents  All Classes  Index A-Z  All Units


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;





Submit your feedback about this page.

Copyright 1995-2007 © by Steema Software. All Rights Reserved.