• 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: Andy Lee <email@hidden>
  • Date: Thu, 23 Aug 2012 16:11:13 -0400

Maybe you needed to send the window orderOut: and/or close?

--Andy

On Aug 23, 2012, at 3:56 PM, tridiak <email@hidden> wrote:

>
> 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


_______________________________________________

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


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>)
 >Re: Modal window and app Quit (From: tridiak <email@hidden>)

  • Prev by Date: Re: How to sandbox an included framework
  • Next by Date: Re: Sandboxing die.die.die
  • Previous by thread: Re: Modal window and app Quit
  • Next by thread: On handling those lovely unrecognized selector sent to instance SIGABRTs
  • Index(es):
    • Date
    • Thread