Skip to main content

TdxAlertWindowManager.OnBeforeShow Event

Enables you to adjust an alert window‘s settings before this window is shown on screen via the Show method call.

Declaration

property OnBeforeShow: TdxAlertWindowManagerNotifyEvent read; write;

Remarks

This event is fired after the alert window has been fully initialized with default settings and the window size is calculated, before making this window visible on screen. For more information on initialized window settings, refer to the TdxAlertWindowManager.Show method description.

Sender specifies the alert window manager.

AAlertWindow specifies the alert window being shown.

Note

We recommend that you do not modify settings that affect the window size in an OnBeforeShow event handler. Instead, handle the OnInitialize event, which is fired before the OnBeforeShow event.

An alert window’s Show method call does not fire the OnBeforeShow event.

See Also