Re: Modal window and app Quit
Re: Modal window and app Quit
- Subject: Re: Modal window and app Quit
- From: tridiak <email@hidden>
- Date: Fri, 24 Aug 2012 07:56:38 +1200
On 24/08/2012, at 7:44 AM, Jens Alfke wrote:
>
> On Aug 23, 2012, at 12:06 PM, tridiak <email@hidden> wrote:
>
>> I dismiss the panel using [NSApp stopModal]. It consists of a single OK button and an editable textfield (with a number formatter).
>> Would the edit field being screwing things up?
>
> No, that all sounds reasonable. And it also sounds as though preventsApplicationTerminationWhenModal should work, too (though I've never used it myself.) How are you starting up the dialog?
>
> —Jens
NSInteger r=[NSApp runModalForWindow:window];
That's how it's initiated. Window is nib based.
Won't bother with it anymore. Change UI to make it a sheet.
Not going to waste time on a quick & simple input.
Thanks for help
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden