Vcl.Forms.TCustomForm.OnBeforeMonitorDpiChanged
Delphi
property OnBeforeMonitorDpiChanged: TMonitorDpiChangedEvent read FOnBeforeMonitorDpiChanged write FOnBeforeMonitorDpiChanged stored IsForm;
C++
__property TMonitorDpiChangedEvent OnBeforeMonitorDpiChanged = {read=FOnBeforeMonitorDpiChanged, write=FOnBeforeMonitorDpiChanged, stored=IsForm};
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
event | protected | Vcl.Forms.pas Vcl.Forms.hpp |
Vcl.Forms | TCustomForm |
説明
ユーザーがモニタの DPI を変更する直前に発生します。
モニタの DPI が変更される前に調整を行うには、OnBeforeMonitorDpiChanged を使用します。
モニタの DPI が変更された後に調整を行うには、OnAfterMonitorDpiChanged を使用します。