TdxAlertWindowMessageList.Add(string,string,TcxImageIndex) Method
Creates a message and appends it to the list.
Declaration
function Add(const ACaption: string; const AText: string; AImageIndex: TcxImageIndex = -1): TdxAlertWindowMessage; overload;
Parameters
Name | Type | Description |
---|---|---|
ACaption | string | The created message’s caption. |
AText | string | The created message’s content. |
AImageIndex | TcxImageIndex | Optional. The index of the image associated with the created message. If the |
Returns
Type | Description |
---|---|
TdxAlertWindowMessage | The created alert window message. |
Remarks
You can call an alert window‘s DeleteCurrentMessage procedure to remove messages from the list. Alternatively, you can call the Clear and FreeAndDelete methods.
See Also