Displays a message box with a formatted message.
procedure ShowMessageFmt(const Msg: string; Params: array of const);
ShowMessageFmt(const AnsiString Msg, array of const Params);
Dialogs
Call ShowMessageFmt to display a simple message box with an OK button. The name of the application's executable file appears as the caption of the message box.
The Msg parameter is a format string for the message that appears in the message box. The Params parameter provides the parameters that are assembled into the message. The Params_Size parameter gives the index of the element of the Params array (one less than the number of parameters).
For more information about how messages are formatted, see Format Strings.
To display a message in a message box with other buttons, or with an icon, use the MessageDlg function.
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|