Vcl.Samples.Calendar.TCalendar.ChangeScale

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure ChangeScale(M, D: Integer); override;

C++

DYNAMIC void __fastcall ChangeScale(int M, int D)/* overload */;
DYNAMIC inline void __fastcall  ChangeScale(int M, int D, bool isDpiChange){ Vcl::Grids::TCustomGrid::ChangeScale(M, D, isDpiChange); }

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.Samples.Calendar.pas
Vcl.Samples.Calendar.hpp
Vcl.Samples.Calendar TCalendar

Description


Resize and reposition children and self.

Vcl.Samples.Calendar.TCalendar.ChangeScale inherits from Vcl.Controls.TWinControl.ChangeScale. All content below this line refers to Vcl.Controls.TWinControl.ChangeScale.

Resize and reposition children and self.

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.

See Also