I am getting different behaviour with a FireMonkey project between Windows 32-bit and macOS 64-bit
In the windows version the message shows when I close the form, but not in OSX.
I may be being a bad person once again with my form handling, but it all worked a treat in 10.4 with no signs of memory leaks 🤪
procedure TForm1.Button1Click(Sender: TObject);
var
f : TForm2;
begin
f := TForm2.Create(nil);
try
f.ShowModal;
finally
f.Free;
end;
end;
procedure TForm2.FormClose(Sender: TObject; var Action: TCloseAction);
begin
showmessage('Form2 FormClose');
end;