Cocoa TForm.ShowModal does not work properly.what exactly doesn't work properly?
Cocoa TForm.ShowModal does not work properly.what exactly doesn't work properly?
Thanks. It does not not close properly, closing hides it but does not return control to the calling form. I'll try to come up with a full example demonstrating the problem.I've created a project with 2 forms.
I was calling Hide instead of Close. Calling Close works as expected.Win32 works exactly the same way.
However, calling Hide causes odd behavior, which may be a bug. Form2 disappears, but it seems to not lose focus, and it is not possible to gain focus for Form1.