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

TdxAlertWindowOptionsSize.Width Property

Specifies an alert window‘s width, in pixels.

#Declaration

Delphi
property Width: Integer read; write; default dxAlertWindowDefaultMinWidth;

#Property Value

Type Default
Integer dxAlertWindowDefaultMinWidth

#Remarks

The Width property value cannot fall outside the MinWidth/MaxWidth range.

You can enable the automatic width adjustment based on displayed message elements via the AutoWidth property. In this instance, manual width adjustments made via the Width property are ignored. To override the width adjustment made by AutoWidth, handle an alert manager’s OnMeasureMessageText event.

To allow alert windows displayed on screen to dynamically adjust their size based on the message content, set the AutoSizeAdjustment property to True.

The default value of the Width property is specified by the dxAlertWindowDefaultMinWidth global constant.

See Also