Vcl.Forms.TCustomForm.OnBeforeMonitorDpiChanged
Delphi
property OnBeforeMonitorDpiChanged: TMonitorDpiChangedEvent read FOnBeforeMonitorDpiChanged write FOnBeforeMonitorDpiChanged stored IsForm;
C++
__property TMonitorDpiChangedEvent OnBeforeMonitorDpiChanged = {read=FOnBeforeMonitorDpiChanged, write=FOnBeforeMonitorDpiChanged, stored=IsForm};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | protected | Vcl.Forms.pas Vcl.Forms.hpp |
Vcl.Forms | TCustomForm |
Description
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.