Contents  All Classes  Index A-Z  All Units


TCustomTeeFunction
Hierarchy     Properties     Methods     Events     

Unit
TeeFunci

Description
This function is used to calculate values using your own formula.

Use the OnCalculate event to supply your values.

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.