Showing next form in Delphi 10.3 not working


I am using Delphi 10.3 to develop Android applications and i want to change between forms. Previously in Delphi 10.2.3 I used this which worked perfectly:

MainForm := TMainForm.Create(nil);
MainForm.LoadOrderData(Data, serial, response);

I also saw the same issue answered here but this solution did not work for me either (I got Access Violation after trying to call Show):

What is the proper way of switching between screens in Firemonkey Android app built with Delphi?

Any help would be appreciated

Comments are closed.