TCustomTeePanel.ReCalcWidthHeight
 
 
 

All Units  All Classes  Properties, Methods and Events  

TCustomTeePanel.ReCalcWidthHeight
TCustomTeePanel

procedure ReCalcWidthHeight;

Unit
TeeProcs

Description
The ReCalcWidthHeight method recalculates the ChartWidth and ChartHeight variables.

You should maybe never call this method. It's called automatically by the TChart component.

This is the implementation of ReCalcWidthHeight:

procedure TChart.RecalcWidthHeight;
begin
ChartWidth:=ChartRect.Right-ChartRect.Left;

if ChartWidth<=0 then ChartWidth:=1;

ChartHeight:=ChartRect.Bottom-ChartRect.Top;

if ChartHeight<=0 then ChartHeight:=1;
end;



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