Vcl.Forms.TCustomForm.OnBeforeMonitorDpiChanged

提供: RAD Studio API Documentation
移動先: 案内検索

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 を使用します。

関連項目