TdxAlertWindow Class
An alert window.
Declaration
TdxAlertWindow = class(
TdxCustomForm,
IdxAlertWindow,
IcxMouseTrackingCaller,
IcxMouseTrackingCaller2,
IdxSkinSupport2
)
Remarks
This class incorporates the alert window functionality utilized by the alert window manager. While the alert window manager provides centralized control over alert window appearance and behavior, you can customize specific window attributes individually using the TdxAlertWindow class API.
The following attributes are fully customizable via TdxAlertWindow class members:
Visibility (Show, Hide, Close, Pinned, and RestartDisplayTimer);
General window appearance and size (LookAndFeel and OptionsSize);
Window element appearance (CurrentMessageIndex, MessageList, OptionsMessage, OptionsButtons, OptionsCaptionButtons, and OptionsNavigationPanel).
Note
To manage window attributes, we recommend that you use class members declared in the TdxAlertWindow class and use only properties derived from TControl to perform the following actions:
To move an alert window, use the window’s Left and Top properties.
To control the hint visibility for window elements, use the ShowHint property.
To size an alert window, use its OptionsSize.Height and OptionsSize.Width properties. We recommend that you avoid using the standard window size API (the properties or methods inherited from TdxAlertWindow ancestor classes, for instance, the Height and Width properties) to adjust the window size.