FMX.Platform.IFMXDialogServiceSync.ShowMessageSync
Delphi
procedure ShowMessageSync(const AMessage: string);
C++
virtual void __fastcall ShowMessageSync(const System::UnicodeString AMessage) = 0 ;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | FMX.Platform.pas FMX.Platform.hpp |
FMX.Platform | IFMXDialogServiceSync |
Description
Displays a dialog box with the specified message and an OK button.
ShowMessageSync works synchronously. Calls to ShowMessageSync finish only when the user closes the dialog box. To work asynchronously, use IFMXDialogServiceAsync.ShowMessageAsync. FMX.Dialogs.ShowMessage works differently depending on the run-time platform.
To call ShowMessageSync without the need of an instance of IFMXDialogServiceSync, use TDialogServiceSync.ShowMessage instead.
Platform Support
Platform | Support |
---|---|
Windows | |
OS X | |
iOS | |
Android |