FMX.Dialogs.ShowMessageFmt

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure ShowMessageFmt(const AMessage: string; const AParams: array of const);

C++

extern DELPHI_PACKAGE void __fastcall ShowMessageFmt(const System::UnicodeString AMessage, const System::TVarRec *AParams, const System::NativeInt AParams_High);

Properties

Type Visibility Source Unit Parent
procedure
function
public
FMX.Dialogs.pas
FMX.Dialogs.hpp
FMX.Dialogs FMX.Dialogs

Description

Displays a simple message box.

Use ShowMessageFmt to display a simple message box that contains a text message, specified by Msg, and an OK button.

The text of the dialog box is formatted by the AParams parameter.

For more information about how the string is formatted, see Format.

If you want to force a specific behavior across different platforms, use IFMXDialogServiceAsync.ShowMessageAsync or IFMXDialogServiceSync.ShowMessageSync from the FMX.Platform unit.

See Also