Skip to main content
A newer version of this page is available. .

TdxAlertWindowManager.Close(TdxAlertWindow) Method

Immediately closes a specified alert window and destroys it.

Declaration

procedure Close(AAlertWindow: TdxAlertWindow);

Parameters

Name Type
AAlertWindow TdxAlertWindow

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