TdxAlertWindowOptionsSize.AutoSizeAdjustment Property
Enables an alert window displayed on screen to dynamically adjust the window size to let this window display its entire message content, with animation.
Declaration
property AutoSizeAdjustment: Boolean read; write; default dxAlertWindowDefaultAutoSizeAdjustment;
Property Value
Type | Default |
---|---|
Boolean | dxAlertWindowDefaultAutoSizeAdjustment |
Remarks
Use this property in combination with the AutoHeight and AutoWidth properties to control automatic window size adjustments for alert windows displayed on screen. Set all these properties to True to enable automatic adjustment of the Width and Height property values based on the content of its current message. The adjusted size always falls within the MinWidth/MaxWidth and MinHeight/MaxHeight ranges.
The window size is adjusted with the animation effect. Use the OptionsAnimate.SizeAdjustmentAnimationTime property to adjust the animation’s duration.
Note
Manual size adjustments made via an alert window’s Width and/or Height properties are ignored if the AutoSizeAdjustment or AutoHeight/AutoWidth property is set to True.
The default value of the AutoSizeAdjustment property is specified by the dxAlertWindowDefaultAutoSizeAdjustment global constant.