Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxFormCorners Enum

Enumerates form corner options.

#Declaration

Delphi
TdxFormCorners = (
    fcDefault,
    fcRectangular,
    fcRounded,
    fcSmallRounded
);

#Members

Name Description Example
fcDefault

A form uses a corner shape setting imported from the dxSkinFormCorners global variable. If its value is also fcDefault, the form corner shape depends on the operating system version.

If an application is running on Windows 11, this option has the same effect as fcRounded. Otherwise, fcDefault is identical to fcRectangular.

Rectangular Form Corners

fcRectangular

Form corners are square.

This option also makes pop-up menu corners square for DevExpress controls under Microsoft Windows 11.

Rectangular Form Corners

fcRounded

Form corners are rounded. The corner’s radius depends on the DPI of the screen where the form is displayed.

For example, the radius is 8 pixels at 96 dpi.

8 PX Radius Rounded Form Corners

fcSmallRounded

Form corners are rounded. The corner’s radius depends on the DPI of the screen where the form is displayed.

For example, the radius is 4 pixels at 96 dpi.

4 PX Radius Rounded Form Corners

#Remarks

Skinned forms can have rounded corners on all supported operating systems, but the fcRounded and fcSmallRounded options have the following limitations on Ribbon and Fluent Design forms if an application is running on an operating system earlier than Windows 11:

Ribbon Form
  • These options do not affect the form if acrylic effects are enabled.
  • If skin-dependent form borders do not exceed 2 pixels in width and the form has a status bar, these options increase the border width. A form with thin skin-dependent borders cannot have rounded corners if it has no status bar.
  • A form with thick skin-dependent borders has no limitations on rounded corners.
Fluent Design Form
  • The navigation control‘s overlay is confined within the form’s client area.
  • If skin-dependent form borders do not exceed 2 pixels in width, these options increase the border width.

The following public API members reference the TdxFormCorners type:

See Also