Hello

Hello,

ShowModal hides calling Form on Mac OS, I use delphi Tokyo.

Complete information is here, how can I solve it ?


http://stackoverflow.com/questions/43235347/delphi-firemonkey-mac-osx-modal-form-moves-behind-main-form-when-closing-file-di

http://stackoverflow.com/questions/43235347/delphi-firemonkey-mac-osx-modal-form-moves-behind-main-form-when-closing-file-di

Comments

  1. I use an asyncronous strategy. I create a Form not modal and I assign to a pair of events, the methods, in the caller controller, that are going to respond in case of "Cancel" or "Accept".

    In the creation method I deactivate the controls of the current window, and in the response methods I reactive the controls.

    The behavior is very similar to a "ModalWindow" but this method runs equal in iOS, Android, Windows and MacOS.

    ReplyDelete
  2. Thank You Juan, the problem is that third party components like FastReport FMX call internally to ShowModal that raises this error too.

    ReplyDelete
  3. I use too FastReports FMX, but I don't use the standard forms. Sorry.

    ReplyDelete

Post a Comment