Vcl.Forms.TCustomForm.ScaleForCurrentDpi
Delphi
procedure ScaleForCurrentDPI; virtual;
C++
virtual void __fastcall ScaleForCurrentDPI();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Vcl.Forms.pas Vcl.Forms.hpp |
Vcl.Forms | TCustomForm |
Description
Checks if there is a change in Dpi and performs the necessary changes to scale all the controls for the new Dpi.