MessageDlg or FMX.Dialogs.MessageDlg does not work at all
Issue #31
resolved
MessageDlg or FMX.Dialogs.MessageDlg does not work at all.
Comments (3)
-
-
reporter Thank you for your tip, it works fine really.
-
repo owner - changed status to resolved
Fixed at 0.91
- Log in to comment
You have to add FMX.DialogService in uses clause and do as following: TDialogService.MessageDialog('Hello from Delphi to Linux Desktop', TMsgDlgType.mtWarning, [TMsgDlgBtn.mbOK], TMsgDlgBtn.mbOK, 0, procedure(const AResult: TModalResult) begin
I tested it with 0.905 version and worked perfectly.