• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Modal window and app Quit
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Modal window and app Quit
      • From: Andy Lee <email@hidden>
References: 
 >Modal window and app Quit (From: tridiak <email@hidden>)
 >Re: Modal window and app Quit (From: Jens Alfke <email@hidden>)
 >Re: Modal window and app Quit (From: tridiak <email@hidden>)
 >Re: Modal window and app Quit (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: Modal window and app Quit
  • Next by Date: Re: How to sandbox an included framework
  • Previous by thread: Re: Modal window and app Quit
  • Next by thread: Re: Modal window and app Quit
  • Index(es):
    • Date
    • Thread