API:Vcl.Forms.TForm.OnBeforeMonitorDpiChanged
Delphi
property OnBeforeMonitorDpiChanged;
C++
__property OnBeforeMonitorDpiChanged;
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| event | published | Vcl.Forms.pas Vcl.Forms.hpp |
Vcl.Forms | TForm |
Description
Occurs immediately before the user changes the monitor DPI.
Vcl.Forms.TForm.OnBeforeMonitorDpiChanged inherits from Vcl.Forms.TCustomForm.OnBeforeMonitorDpiChanged. All content below this line refers to Vcl.Forms.TCustomForm.OnBeforeMonitorDpiChanged.
Occurs immediately before the user changes the monitor DPI.
Use OnBeforeMonitorDpiChanged to make any adjustments before the monitor DPI changes.
To make adjustments after the monitor DPI changes, use OnAfterMonitorDpiChanged.