Greetings! The current use of beginSheetForDirectory is to show the dialog and continue the code (i.e. it's not modal). For implementing a Save method, it makes things hard to code (we need to “suspend” the current method (could be FileSave or CancelClose), wait for the dialog to close, and continue the method (that is. trigger the called method again (FileSave or CancelClose (by closing the window again, or quitting the app), but this time by passing the chosen file).
A ShowModalSheetForDirectory method would be the missing method here, simply because a NSSavePanel is meant to suspend the current method. Or is there a workaround? _______________________________________________ Mbsplugins_monkeybreadsoftware.info mailing list [email protected] https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
