API:Vcl.Forms.TForm.OnBeforeMonitorDpiChanged

From RAD Studio API Documentation
Jump to: navigation, search

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.

See Also