dxShowMessageFmt(string,Untyped[],TdxMessageDialogHyperlinkClickDelegate,TdxMessageDialogShowHyperlinkHintDelegate) Method
Displays a message dialog box with a formatted message.
Declaration
procedure dxShowMessageFmt(const AMessage: string; AArguments; const AHyperlinkClickProc: TdxMessageDialogHyperlinkClickDelegate = nil; const AShowHyperlinkHintProc: TdxMessageDialogShowHyperlinkHintDelegate = nil);
Parameters
Name | Type | Description |
---|---|---|
AMessage | string | Message dialog box content. The The |
AArguments | Specifies parameters included in the message. |
|
AHyperlinkClickProc | TdxMessageDialogHyperlinkClickDelegate | Optional. Specifies a procedure that handles a click on a hyperlink within the displayed message. The You can define a click handler procedure to identify the clicked hyperlink and prevent certain links from being activated. Tip Refer to the TdxMessageDialogHyperlinkClickDelegate procedural type description for detailed information and a code example. |
AShowHyperlinkHintProc | TdxMessageDialogShowHyperlinkHintDelegate | Optional. Specifies a procedure that handles a hyperlink hint display event. The You can define a hyperlink hint handler procedure to change the predefined hint message (the hyperlink target URI) depending on certain conditions in your application. Tip Refer to the TdxMessageDialogShowHyperlinkHintDelegate procedural type description for detailed information and a code example. |
Remarks
Call the dxShowMessageFmt
procedure to display a simple message box with an OK button. The message box uses the application name as a caption.
Supported BBCode-Inspired Markup Tags
Text Formatting Attribute | Message Text with Tags | Example |
---|---|---|
Bold | '[B]DevExpress[/B]' |
|
Italic | '[I]DevExpress[/I]' |
|
Underscore | '[U]DevExpress[/U]' |
|
Strikeout | '[S]DevExpress[/S]' |
|
Subscript | 'Dev[Sub]Express[/Sub]' |
|
Superscript | 'Dev[Sup]Express[/Sup]' |
|
Custom Font | 'Dev[U][Font=Consolas][Size=12]Express[/U][/Font][/Size]' |
|
Color | '[Color=#E67E22]Dev[/Color][Color=Gray]Express[/Color]' |
|
Background Color | '[BackColor=Orange]DevExpress[/BackColor]' |
|
Hyperlink | '[URL=http://www.devexpress.com/]DevExpress[/URL]' |
|
No Parse | '[NOPARSE][B]DevExpress[/B][/NOPARSE]' |