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

TdxAlertWindowMessage.Text Property

Specifies the message text in an alert window.

Declaration

property Text: string read; write;

Property Value

Type Description
string

The message text displayed in an alert window. You can use the BBCode-inspired tags listed below to apply simple formatting to the alert window message text.

Remarks

Use the Text property to define the message’s content.

A formatted message text example

The Text property supports the following BBCode-inspired tags you can use to apply simple formatting to the text displayed in an alert window:

[B][/B], [I][/I], [U][/U], and [S][/S]
The bold, italic, underline, and strikeout font attributes.
[COLOR][/COLOR] and [BACKCOLOR][/BACKCOLOR]
The font and highlight colors.
[SIZE][/SIZE], [SUP][/SUP], and [SUB][/SUB]
The font size, superscript, and subscript attributes.
[FONT][/FONT]
The font typeface.
[NOPARSE][/NOPARSE]
Allow you to ignore all markup tags within a text range between these tags.
[URL][/URL]
A hyperlink. A click on the hyperlink displays its target in the default application associated with the target URI type. You can handle the Alert Window Manager‘s OnHyperlinkClick event to conditionally disable the hyperlink activation routine or implement a custom hyperlink activation behavior.

Note

  • You can pass the required message text as the Show procedure’s parameter.
  • Use an alert window’s OptionsMessage.Text property to customize the text appearance of all messages associated with this alert window.

The Text property’s default value is an empty string.

See Also