Skip to main content

TdxForm Class

The base class for DPI-aware DevExpress application forms.

Declaration

TdxForm = class(
    TForm,
    IdxScaleFactor
)

Remarks

The TdxForm class is designed to substitute TForm as a form ancestor in DPI-aware applications. An instance of a form class derived from TdxForm (TdxRibbonForm, for instance) automatically updates its scale factor and applies it to all DevExpress controls when your application accepts the WM_DPICHANGED system message.

Main API Members

The list below outlines key members of the TdxForm class that allow you to configure a DPI-aware application form.

Other DPI-Aware Form Classes

DevExpress VCL products ship with the following base form classes with support for DPI-awareness:

TdxRibbonForm
A Ribbon form class.
TdxFluentDesignForm
A Fluent Design application form.
TdxCustomForm
The base class for DPI-aware DevExpress application forms and dialogs.

Additional Information

Refer to the following help topic for detailed information on how to adapt your application to high-DPI environments: How to: Create a Per-Monitor DPI-Aware Application.

Implements

See Also