Vcl.Forms.TCustomForm.ScaleForCurrentDpi
Delphi
procedure ScaleForCurrentDPI(ForceScaling: Boolean = False); virtual;
C++
virtual void __fastcall ScaleForCurrentDPI(bool ForceScaling = false);
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.