RAD Studio VCL Reference
TWinControl.ChangeScale Method

Resize and reposition children and self.

procedure ChangeScale(M: Integer; D: Integer); override;
virtual __fastcall ChangeScale(int M, int D);

ChangeScale rescales the control in the same manner as the ChangeScale method in TControl. If the control contains any children, their ChangeScale methods are called before the parent itself is rescaled. 

To rescale the control's children without rescaling the control itself, use ScaleControls. To rescale the control without repositioning, use ScaleBy


Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!