Show: Delphi C++
Display Preferences

FMX.Platform.IFMXDialogServiceSync.ShowMessageSync

From RAD Studio API Documentation
Jump to: navigation, search

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
YesC++11Feature.png
OS X
YesC++11Feature.png
iOS
YesC++11Feature.png
Android

See Also

Personal tools
In Other Languages
Previous Versions
Assistance