Vcl.Forms.TCustomForm.ChangeScale
Delphi
procedure ChangeScale(M, D: Integer; isDpiChange: Boolean); override;
C++
DYNAMIC void __fastcall ChangeScale(int M, int D, bool isDpiChange)/* overload */;
DYNAMIC inline void __fastcall ChangeScale(int M, int D){ Vcl::Controls::TControl::ChangeScale(M, D); }
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.Forms.pas Vcl.Forms.hpp |
Vcl.Forms | TCustomForm |
Description
Repositions and resizes the form by the ratio M/D, adjusting its client area and font size as needed.
TCustomForm overrides ChangeScale to rescale any scroll bars and child controls.