4/7/2024 0 Comments Delphi firemonkeyMessageDialog ( 'you are gonna edit something ', TMsgDlgType. ItemIndex - 1 ) then begin TDialogService. SpeedButton5Click ( Sender : TObject ) begin if ( lst2. Learn how to install the Delphi Community Edition for FREE which you can use to build cross platform mobile apps with FireMonkey for Android, IOS, macOS. You need to move the call to StartLogin10() inside the MessageDialog() callback, eg: See Using FireMonkey Modal Dialog Boxes, TCommonCustomForm.ShowModal(), and IFMXWindowService.CanShowModal() for more details. As such, your code is trying to use the Reply variable before it has actually been assigned a value, which is why StartLogin10() is not being called.Īndroid simply does not support modal dialogs, and so the RTL does not implement any synchronous dialogs on Android. TDialogService.MessageDialog() is asynchronous on Android, per the documentation, so the dialog won't appear until after SpeedButton5Click() has exited.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |