> Value:= (X - crect.Left) / (crect.Right - crect.Left) * Max;

Value:= (X - crect.Left) / (crect.Right - crect.Left) * (Max - Min) + Min;

Moz

__________________________________________________
Delphi-Talk mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi-talk

Reply via email to