dimanche 25 janvier 2015

ShowModal form that opens NSOpenPanel is force closed in Delphi Firemonkey OSX


Vote count:

0




I am using the code @ http://ift.tt/M4x1J9 to open a dialog on OSX for selecting a folder


I'm creating a form using Form2.ShowModal, and on this form I am calling the above SelectDirectory function through a button. The form created with ShowModal is then instantly closed as soon as the NSOpenPanel is also closed... The forms OnClose event does not fire, and the ModalResult of the Form2.ShowModal call is mrNone (0), so I haven't been able to find a way to stop this unwanted behaviour. Somehow the LOpenDir.runModal; result is forcing my Form2 to close too


Any help would be fantastic, thanks.



asked 37 secs ago







ShowModal form that opens NSOpenPanel is force closed in Delphi Firemonkey OSX

Aucun commentaire:

Enregistrer un commentaire