FMX.Dialogs.ShowMessage
Delphi
procedure ShowMessage(const AMessage: string);
C++
extern DELPHI_PACKAGE void __fastcall ShowMessage(const System::UnicodeString AMessage);
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 ShowMessage to display a simple message box that contains a text message, specified by Msg
, and an OK button.
On mobile platforms, calls to ShowMessage are not blocking. This means that any code that you place after a call to ShowMessage is executed before the dialog box closes. If you need to execute code after your dialog box closes, use MessageDlg instead of ShowMessage.