The forum is in read only mode.

  • Page:
  • 1

TOPIC: OSX Firemonkey maximized modal form problem

OSX Firemonkey maximized modal form problem 6 months 3 weeks ago #14027

In RadStudio 10.2.3, I created a new Firemonkey multi-device c++ blank application.. Main form/unit is 20. ShowFullScreenIcon and FullScreen are both false. I then created a new multi-device c++ form/unit 21. I put a TButton on form 20. OnClick does Form21->ShowModal(). A TButton on form 21 returns mrCancel. On OSX Sieraa 10.12.6, I click the maximize icon (ShowFullScreenIcon is false), and click the button on main form 20. Form 21 appears maximized as a 2nd tab. Clicking the form20 tab locks up the program requiring a Force Quit. Restarting and clicking the "Cancel" button in Form21 returns to Form20, still maximized, but now behind the top menu bar and dock, hiding the top and bottom of Form20. I tried:
void __fastcall TForm20::FormShow(TObject *Sender)
with no change. Is there something else I need to do to run a form with ShowModal() maximized? Thanks in advance for any enlightenment.
  • Page:
  • 1
Moderators: April Anne