Back to Devexpress

TdxAlertWindowManager.Close(TdxAlertWindow) Method

vcl-dxalertwindow-dot-tdxalertwindowmanager-dot-close-x28-dxalertwindow-dot-tdxalertwindow-x29.md

latest2.3 KB
Original Source

TdxAlertWindowManager.Close(TdxAlertWindow) Method

Immediately closes a specified alert window and destroys it.

Declaration

delphi
procedure Close(AAlertWindow: TdxAlertWindow);

Parameters

NameType
AAlertWindowTdxAlertWindow

Remarks

Calling this method does the following:

End-users can close an alert window either by clicking the corresponding caption button or by right-clicking this window if the OptionsBehavior.CloseOnRightClick property is set to True. As a result, the Close method of the alert window will be called.

Use the alert window manager’s OptionsAnimate.CollapseEmptySlots property to enable alert windows to automatically move into empty slots that appear after closing other alert windows, with animation.

Note

An alert window is automatically closed if it is not pinned and its display time specified via the OptionsBehavior.DisplayTime property has run out.

See Also

TdxAlertWindow.Show

TdxAlertWindowManager.Show

TdxAlertWindowManager Class

TdxAlertWindowManager Members

dxAlertWindow Unit