On 24/08/2012, at 7:44 AM, Jens Alfke wrote:

> 
> On Aug 23, 2012, at 12:06 PM, tridiak <trid...@ihug.co.nz> 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 (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to